Advertisement

the new scripting article

Started by June 02, 2001 08:34 PM
-1 comments, last by Dog_Food 23 years, 8 months ago
Unless I''m mistaken, the methods explained in the article have an undesirable limitation. Recursive functions, or functions that may have several instance called at the same time will not work as all the function arguments are linked to a fixed variable before hand. A better way to implement this might be to have a stack of data that can be allocated for each function call, and function arguments are set as an index + the current position into the stack.

This topic is closed to new replies.

Advertisement