mentsRe: call_func()

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

Then routine call_func, takes an integer which represents a routine as the first argument and a sequence of all of its arguments you pass to it:

integer y = Routine(4) 

becomes

integer r_id = routine_id("Routine") 
integer y = call_func(r_id, {4}) 

Thank you SDPringle,

This seems to do the trick.

I wish the docs were clearer on this.

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu