🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #139

paramstr longer than 127 characters. Is it possible?

#139
From: Andy
Date: Mon, 28 Jan 2002 14:32
19 lines
1713 bytes
Hello,

I write a program, which must works in batch mode - user select some files 
in explorer, drag'em to the program and program starts to calculate every 
separate input. Code looks like below:

...   
for i :=1 to ParamCount do
    	begin
    	execute program for paramstr(i);
    	end;
...

This works OK untill paramstr is not longer that 127 characters. Same code 
compilled with free pascal seems has two times longer limit.
Is there a way to process any number of input files, without limits?

Thanks,
Andy
Technical Details
Message-ID: <91A4ABE38qwerty@193.193.193.102>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!carrier.kiev.ua!news.lucky.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10261c,4381055370f4511c,start
X-Google-Attributes: gid10261c,public
X-Google-Thread: 111659,4381055370f4511c,start
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,4381055370f4511c,start
X-Google-Attributes: gid108ebd,public
X-Google-ArrivalTime: 2002-01-28 06:32:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!carrier.kiev.ua!news.lucky.net!not-for-mail
From: andrew@SPAMNOyahoo.com (Andy)
Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.misc,borland.public.turbopascal
Subject: paramstr longer than 127 characters. Is it possible?
Date: Mon, 28 Jan 2002 14:32:20 +0000 (UTC)
Organization: private
Lines: 19
Message-ID: <91A4ABE38qwerty@193.193.193.102>
NNTP-Posting-Host: ln1-210.users.lucky.net
X-Trace: news.lucky.net 1012228340 21611 193.193.195.210 (28 Jan 2002 14:32:20 GMT)
X-Complaints-To: usenet@news.lucky.net
NNTP-Posting-Date: Mon, 28 Jan 2002 14:32:20 +0000 (UTC)
X-Sender: anders@carrier.kiev.ua
User-Agent: Xnews/03.09.22