RE: [RBASE-L] - Compiler: How to read command line arguments.

2017-03-12 Thread Dan Goldberg
ubject: [RBASE-L] - Compiler: How to read command line arguments. This was started by Larry Lustig in the previous thread. This code segment could be placed anywhere relative to its purpose. Function declarations ONLY need to be done ONCE in an RBase session. Once declared, the DLCall rbase functi

Re: [RBASE-L] - Compiler: How to read command line arguments.

2017-03-11 Thread 'Lawrence Lustig' via RBASE-L
You should be able to parse these using the %1 %2 %3 from ancient days.  At the top SET Var1 = .%1, Var2=.%2, Var3=.%3 I get Unrecognized Global Variable when I try to refer to .%1, etc.--Larry -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To

Re: [RBASE-L] - Compiler: How to read command line arguments.

2017-03-11 Thread Albert Berry
You should be able to parse these using the %1 %2 %3 from ancient days. At the top SET Var1 = .%1, Var2=.%2, Var3=.%3 Albert > On Mar 11, 2017, at 12:44 PM, 'Lawrence Lustig' via RBASE-L > wrote: > > I'm learning the compiler. > > When my exe starts, I want to be

Re: [RBASE-L] - Compiler: How to read command line arguments.

2017-03-11 Thread 'Lawrence Lustig' via RBASE-L
I use several different ways to start a compiled app.  1. I just compile my external form 2. I also compile a command file to do what I want.  E.G. I have a command file that prompts a user ID, depending on the ID it does one of several options. Would like to do it with command-line

Re: [RBASE-L] - Compiler: How to read command line arguments.

2017-03-11 Thread Tom Hart
I use several different ways to start a compiled app. 1. I just compile my external form 2. I also compile a command file to do what I want. E.G. I have a command file that prompts a user ID, depending on the ID it does one of several options. Tom Hart On Sat, Mar 11, 2017 at 1:44 PM,

[RBASE-L] - Compiler: How to read command line arguments.

2017-03-11 Thread 'Lawrence Lustig' via RBASE-L
I'm learning the compiler. When my exe starts, I want to be able to read in some configuration from the command line.  How can my R:Base startup program read the command line arguments? (EG, If I run MYCOMPILED.EXE -Menu UserMenu -Level Novice I want to be able to read the -Menu UserMenu -Level