Array return value

gicifgicif Member Posts: 16
Hi all!

Is it possible to have a procedure that return a array variable?
(I don't need global variable)

Thx

Comments

  • Lec11Lec11 Member Posts: 91
    This is not possible ... what do you need to do? There are other ways to return more than one value ... using a temp record, for example.
  • garakgarak Member Posts: 3,263
    if you need to return a array define this array in your function as Parameter and set the Var flag.

    Then you have create a "Call by Reference", without the Var flag it's "Call by Value"

    Regards
    Do you make it right, it works too!
  • gicifgicif Member Posts: 16
    Thank you all very much!
    The solution suggested by garak work fine for me. :)
    Bye
Sign In or Register to comment.