How to load multiple scripts inside a q-script?

  • A+
Category:Languages

I would like to load multiple scripts inside the same script:

I can run this:

/l first_script.q / more q code 

But if I try to run this:

/l first_script.q; /l second_script.q; / more q code 

... it parses ';' as part of the file name. Does anyone know a way to load multiple q-files?

 


You can use system to load the files :

system "l first_script.q"; system "l second_script.q"; 

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: