Multiple arguments from the cli

Darkness

New member
How do I pass multiple arguments from the cli to an ash function now?
If I have a file foo.ash:
"void main(int fint, string fstring) { print(fstring) }"
I used to be able to type something like: "foo 12 bar" into the cli to pass "12" and "bar" to main in foo.ash, but that doesnt work now. Mafia will pass the first argument and then pop up a dialog for the second.
 

holatuwol

Developer
I took that out, because it was causing some consistency problems. At this time, you will now have to have one parameter (ideally a string) and use the split commands to decide how you want the parameters handled.
 
Top