Article View: comp.sys.mac
Article #37619Re: LSP 2.0 FLAME
From: Ken Mcleod
Date: Thu, 09 Feb 1989 21:02
Date: Thu, 09 Feb 1989 21:02
24 lines
1150 bytes
1150 bytes
mikeoro@hubcap.UUCP (Michael K O'Rourke) writes:
>
>if a is of type string and i say :
>
>a := '5';
>
>it promptly dislikes
>
>a := a + '3';
'a' is defined as an array of chars, not a pointer... you can't do
addition on arrays! If TP let you do this, that doesn't mean it's right,
or even standard.
Try instead the standard Pascal library function 'concat', as in:
a := '5';
a := concat(a, '3'); { now the string a is '53' }
-k
========== ....... =================================== ============
Ken McLeod :. .: UUCP: {crash uunet}!pnet06!thecloud "They mean
---------- :::.. ..::: InterNet: thecloud@pnet06.cts.com to win
!(C)1988 //// or thecloud@dhw68k.cts.com Wimbledon!"
Technical Details
Message-ID:
<6639@hodge.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ncar!gatech!hubcap!ncrcae!ncrlnk!uunet!hodge!pnet06!thecloudShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ncar!gatech!hubcap!ncrcae!ncrlnk!uunet!hodge!pnet06!thecloud From: thecloud@pnet06.cts.com (Ken Mcleod) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: LSP 2.0 FLAME Message-ID: <6639@hodge.UUCP> Date: 9 Feb 89 21:02:10 GMT Sender: root@hodge.UUCP Organization: People-Net [pnet06], Orange, CA Lines: 24