[phix niggles] First class routine
- Posted by _tom (admin) Apr 10, 2021
- 857 views
A few small details about routine_id:
integer rid = routine_id("print")
--> fatal problem with autoinclude "print"
Can be fixed as:
print(1, "do this first" ) integer rid = routine_id("print")
Must use integer but not number:
print(1, "do this first" ) number r_print = routine_id("print") r_print(1, "hello" )
r_print(1, "hello" ) ^ '=' expected
print(1, "do this first" ) integer r_print = routine_id("print") r_print(1, "hello" )
"do this first""hello"
be well
_tom