What is the correct syntax for calling a function from within an expression when that function is being passed parameters?
I tried:
Functions.Call("Srand(20,90)")
where Srand is my function name, I am passing the minimum and maximum value of the seeded random number to be returned, and I do have the "Set return value to" event set correctly. I only ever get zero though, and no other variation in syntax gets passed C2's error detector.
I know my return value statement is good because the function works perfectly when I get my return value with a separate Functions.ReturnValue event just after the call function event.
Thanks.