home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4987 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.0 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!viznyuk
  2. From: viznyuk@ohstpy.mps.ohio-state.edu
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Command string
  5. Message-ID: <13467.2a964ea7@ohstpy.mps.ohio-state.edu>
  6. Date: 22 Aug 92 14:26:47 EDT
  7. References: <32164@adm.brl.mil>
  8. Lines: 18
  9.  
  10. In article <32164@adm.brl.mil>, S105728@umrvma.umr.edu ( Steve Poulsen) writes:
  11. > I believe this is what you are looking for.
  12. > ParamStr(n) will return the parameters where n goes from 1 to ParamCount.
  13. > If n is 0 then ParamStr returns the path and filename.  You could then use
  14. > FSplit to break the path, drive, name and extension up.
  15. > ========================================      ,--,
  16. >   Steven P. Poulsen <S105728@UMRVMA>       ,'  '--,
  17. >   Student of Electrical Engineering        ---, ,'
  18. >   University of Missouri - Rolla            ,','
  19. > =======================================    , '
  20.  
  21.   Looks fine, but as it seems you are referring to
  22. Pascal on MS-DOS platform, while I need the answer for
  23. VAX/VMS. Thanks anyway.
  24. S.V.
  25.