Call a function: Difference between revisions

Content added Content deleted
Line 2,067: Line 2,067:
Note however that for performance reasons some builtins do not have a proper routine_id; if you need one you must write a trivial one-line wrapper.<br>
Note however that for performance reasons some builtins do not have a proper routine_id; if you need one you must write a trivial one-line wrapper.<br>
(For a full list, see psym.e/syminit() calls to AutoAsm(), whereas calls to initialAutoEntry() therein indicate builtins that can have routine_ids.)<br>
(For a full list, see psym.e/syminit() calls to AutoAsm(), whereas calls to initialAutoEntry() therein indicate builtins that can have routine_ids.)<br>
(Routines that do not have a proper routine_id do not support named parameters either.)<br>
(One day the compiler may be enhanced to automatically create one-line wrappers as needed, but that is quite near the end of a fairly long to-do list.)
(One day the compiler may be enhanced to automatically create one-line wrappers as needed, but that is quite near the end of a fairly long to-do list.)
* Partial application is usually achieved through a single variable-length "user_data" parameter within a call_func() expression.
* Partial application is usually achieved through a single variable-length "user_data" parameter within a call_func() expression.