Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
passing/returning integer in function line
Hi Gintaras,
sometimes it works that I can pass/return an integer variable to a custom function via function line like

Function Func164
Copy      Help
function v int&
j = v+5

I know I can use ret function line to achieve this but not ok if I want to return many integer variables that come out of function.
Alternatives I can do are pass as str&strvar using val(strvar) on either end or pass ARRAY(int) or a custom variable type with integer members.
However, it's weird that sometimes above works and sometimes returns 0 and sometimes returns error.


function# v int&j

j= v+5

Forum Jump:

Users browsing this thread: 1 Guest(s)