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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c049fca34123e80,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-13 01:18:40 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!newsfeed.online.be!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!newsfeed.siemens.de!news.mch.sbs.de!not-for-mail From: "Shitij" Newsgroups: comp.lang.ada Subject: Variable length string Date: Mon, 13 Aug 2001 13:49:21 +0530 Organization: Siemens Inc. Message-ID: <9l82gv$j83$1@news.mch.sbs.de> NNTP-Posting-Host: 132.186.193.200 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Xref: archiver1.google.com comp.lang.ada:11835 Date: 2001-08-13T13:49:21+05:30 List-Id: Hi, Iam new to ADA.I just wanted to know how do you define a variable length string.I have declared a string array of length say a size of 20.But if I use get and pass this string as an arguement,then unless and until I fill this with exactly 20 characters my program is not working.How to overcome this? Iam using the below structure type list; type pList is access list; type list is record data:integer; str:string(1 .. 20); next:pList:=NULL; end record;