Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!kodak!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.lang.pascal Subject: Re: Paramstr() like argv() Keywords: command line parameters Message-ID: <1991Feb16.132832.25741@uwasa.fi> Date: 16 Feb 91 13:28:32 GMT References: <1991Feb16.005252.24456@hpmcaa.mcm.hp.com> Organization: University of Vaasa Lines: 18 In article <1991Feb16.005252.24456@hpmcaa.mcm.hp.com> nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui) writes: >I have been looking for some source that would implement a replacement >for paramstr() such that it returns quoted items as a single token : >Currently in TP single or double quoted strings containing white space >are broken into individual tokens. : Read the entrire command line into a single string, and then parse that string whatever way your problem warrants. (If you don't know how to read the entire command line, see /pc/ts/tsfaq17.arc FAQ collection for the code.) ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun