B4J Question [SOLVED] Pass a variable through command line and then read it

Magma

Expert
Licensed User
Longtime User
Hi there...

is there a way to pass a variable through command line... and ofcourse read it with b4j code...

like:

C:\> java -jar myapp.jar %1 %2

and then from b4j source:

dim a as string 'example
dim b as string
a=%1
b=%2

Thanks in advance
 
Top