arguments with .exe version of a program
Author |
Message |
breeno3
|
Posted: Fri Apr 10, 2009 12:07 pm Post subject: arguments with .exe version of a program |
|
|
I am having trouble receiving command line arguments with the following program. The program has been converted into an executable.
put "Number of Args=", Sys.Nargs
put "The name of this program is : ", Sys.FetchArg (0)
for i : 1 .. Sys.Nargs
put "Argument ", i, " is ", Sys.FetchArg (i)
end for
When run in the Turing environment, the arguments show up and get printed. When run as an exe with
Args.exe "hello"
no arguments get sent. Is there a way to send arguments to an exe version of the program without having to open the arguments pop up window? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
|
|