Page 1 of 1

Procedures and functions

Posted: Tue Jul 12, 2011 8:15 am
by NickDay
Unless I've overlooked it, MSICode does not include syntax for procedures and functions (the closest it gets is 'include script').
I've wondered for a long time whether this will ever be added, e.g. in the native engine, so thought I might as well ask.

Re: Procedures and functions

Posted: Tue Jul 12, 2011 8:55 am
by giaviv
Hi Nick,

You are write, the Include Script command is indeed the closest thing to a function. What exactly are you unable to do with this mechanism?

Re: Procedures and functions

Posted: Tue Jul 12, 2011 9:44 am
by NickDay
I haven't hit something it stops me doing, Aviv. It just strikes me as an unusual for a language to not support procedure and function calls, so I wondered whether I was missing something, or if it was under development. No problem.