Posts: 1,271
	Threads: 399
	Joined: Mar 2003
	
	
 
	
	
		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 ?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12,239
	Threads: 144
	Joined: Dec 2002
	
	
 
	
	
		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
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,271
	Threads: 399
	Joined: Mar 2003
	
	
 
	
	
		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
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12,239
	Threads: 144
	Joined: Dec 2002