From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54c513170bafd693 X-Google-Attributes: gid103376,public From: randhol+nospam@pvv.org (Preben Randhol) Subject: Re: Desirability of C++ Date: 2000/05/02 Message-ID: #1/1 X-Deja-AN: 618278941 References: <390DEC7F.9429C82C@online.no> <8emhtk$pka4@ftp.kvaerner.com> X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 957278587 120 129.241.83.82 (2 May 2000 14:43:07 GMT) Organization: Norwegian university of science and technology User-Agent: slrn/0.9.6.2 (Linux) NNTP-Posting-Date: 2 May 2000 14:43:07 GMT Newsgroups: comp.lang.ada Date: 2000-05-02T14:43:07+00:00 List-Id: On Tue, 2 May 2000 14:32:50 +0200, Tarjei T. Jensen wrote: >line : string[80]; >short_line : string[40]; > >line := "Nice weather"; > >short_line := line; > As I cannot remember much of turbopascal I curious: If you write in turbopascal. line : string[12]; short_line : string[5]; line := "Hello World!"; short_line := line; would short_line be "Hello" or will it be altered to a string[12] and thus contain all of line? -- Preben Randhol -- [randhol@pvv.org] -- "Det eneste trygge stedet i verden er inne i en fortelling." -- Athol Fugard