Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EXE: _command
#1
is there any internal function i can use to get my
parameters in _command ?

or do i have use tok to get the parameters from _command ?
pi
#2
Can be used str.getstruct/setstruct. Something like this:

type MYPARAMS a b
MYPARAMS p
p.a=1
p.b=2
str s.getstruct(p)
mac "func" s

---

func:
MYPARAMS p
str s=_command
s.setstruct(p)
out p.a
#3
i am sorry, but i can't get the expected result.

from ff i pass this to my exe:

var args = [site,url,user,password];
//alert (args);
process.run(false, args, args.length);

i get _command as expected in qm output.

is there no simple way to get the commandline parameters
into qm variables ?

site
url
user
password
pi
#4
Only tok or findrx.


Forum Jump:


Users browsing this thread: 1 Guest(s)