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: "Tarjei T. Jensen" Subject: Re: Desirability of C++ Date: 2000/05/03 Message-ID: <8eolva$sqj2@ftp.kvaerner.com>#1/1 X-Deja-AN: 618599617 Content-Transfer-Encoding: 7bit References: <390DEC7F.9429C82C@online.no> <8emhtk$pka4@ftp.kvaerner.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-03T00:00:00+00:00 List-Id: Preben Randhol wrote > >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? You would get either a runtime error or a compile time error. I don't remember which. Greetings,