Re: Function return value(s)


Keith Canniff
 

Avgerinos,

Pass a blob and pass back and forth whatever content you want. This way you could pass an entire table in and out of a function (mtblset, mtblget), or just a simple alpha field with some delimiter that separates the values passed back.

HTH

Keith

-----Original Message-----
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Avgerinos
Sent: Sunday, August 12, 2018 12:13 PM
To: main@magicu-l.groups.io
Subject: [magicu-l] Function return value(s)

Hi magicians

Is there any way to return more than one values from a function?
Parameters are input-only. So far, I can only think of passing the var-index ('XX'VAR) as a parameter and use VARSET in the function to update it.
Any alternatives?

Regards
Avgerinos

Join main@magicu-l.groups.io to automatically receive all group messages.