Call a function: Difference between revisions
m
Update Lang example: Fix spelling of Lang
m (Update Lang example: Fix spelling of Lang) |
|||
Line 3,551:
# In
fp.varArgsText = ($text...) -> \!
fp.varArgsText(1) # Var args text will be called with "1"
Line 3,589:
$ret = fp.inc2(40) # $ret is 42
# Built-in (They are called predefined functions in
# Linker functions start with "linker." or "ln."
# Predefined and linker functions can be stored in a user-defined function
Line 3,595:
fp.userDefinedFunc(Called println)
# In
# In
# $ptr is a pointer to the called value
fp.callByPtr = ($[ptr]) -> \!
|