Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Functions With N arguments
#2
No. Possible only with dll functions.

Workarounds:
1.Optional arguments:
function [~s1] [~s2] [~s3] [~s4] ;;max 31

2. Pass array.
function ARRAY(str)&args

3. Pass multiline string, or XML or some other string that the function would split.
function ~args
str s
foreach s args
,...

4. Pass variable of user-defined type.
function FUNC10ARGS&a


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)