[comp.lang.pascal] Getting length of string

ldw@hpclldw.HP.COM (Larry Woods) (07/19/88)

sizeof() is not standard Pascal.  It does not exist in all implementations.

ralf@b.gp.cs.cmu.edu (Ralf Brown) (07/20/88)

In article <950012@hpclldw.HP.COM> ldw@hpclldw.HP.COM (Larry Woods) writes:
}sizeof() is not standard Pascal.  It does not exist in all implementations.

Neither is the string datatype.  In VAX Pascal on VMS, the string datatype
is a record containing two fields (the length and actual content) rather than
an array.
-- 
{harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) 
ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make.
FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler
BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?