Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!psurge From: psurge@cs.utexas.edu (Troy Carpenter) Newsgroups: comp.sys.atari.st Subject: command line arguments Keywords: programming Message-ID: <16531@cs.utexas.edu> Date: 5 Jan 91 05:56:41 GMT Sender: news@cs.utexas.edu Lines: 26 I am programming in either Personal Pascal or Modula 2. I have this question: How does one get a program in either of these languages to use arguments passed from the command line. For instance, say I wanted to write a .TTP dialer called "dial". From the command line I would type: dial [number] How do I get the program to recognize the variable "number" in either Personal Pascal or Modula 2 (Modula 2 preferred). Thanks in advance. Troy Carpenter Department of Computer Sciences THE University of Texas, Austin psurge@cs.utexas.edu "You're so open minded that your brain leaked out" - Steve Taylor *>>>>>>>>>>>>>>>>>> The best thing in life costs exactly that <<<<<<<<<<<<<<<*