home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5266 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.3 KB

  1. Path: sparky!uunet!psinntp!execnet![jeff.zeitlin@execnet.com]
  2. From: "jeff zeitlin" <jeff.zeitlin@execnet.com>
  3. Newsgroups: comp.lang.pascal
  4. Subject: retrieve cmd line
  5. Message-ID: <1992Sep8.815.4887@execnet>
  6. Date: 8 Sep 92 22:37:14 EST
  7. Reply-To: "jeff zeitlin" <jeff.zeitlin@execnet.com>
  8. Distribution: comp
  9. Organization: Executive Networks Information
  10. Lines: 28
  11.  
  12. JF::>>Hi!
  13.   ::>>
  14.   ::>> >  vmoe>   How could one retrieve the on-line program
  15.   ::>> > parameters,
  16.   ::>> >  vmoe> such as the program name, or the whole command
  17.   ::>> > string
  18.   ::>> >  vmoe> from within the pascal program  ?
  19.   ::>>
  20.   ::>>Do this, it should work, although I've never tried it <G>
  21.   ::>>
  22.  
  23.   [Omitted for brevity]
  24.  
  25.   Your solution only works if he is using Turbo Pascal on an IBM-PC
  26.   compatible system.  If he is using Microsoft Pascal on a MS-DOS
  27.   system, he must use a completely different method.  On a *IX system
  28.   he would use yet a third method.  If he is using Standard Pascal,
  29.   there doesn't appear to ba any way to do the job.  Before this
  30.   question can be answered, we will have to know more about the
  31.   environment in which he wants to accomplish this goal.
  32.  
  33.   J/
  34.   jeff.zeitlin@execnet.com
  35.  
  36.  * OLX 2.2 * People who live in glass houses shouldn't.
  37. --
  38. Executive Network Information System  (914) 667-4567
  39. International ILink Host
  40.