Re: Function return value(s)

Mike Bannon

Hi Avgerinos

If the required return values were all of the same data types, i.e. all alphas or all numerics, you could use a vector. Or you could pass back a character-separated string, such as "abc¬99¬xyz" and parse this in the calling programme using the StrToken function.

Mike Bannon
DataFormation Ltd., UK

-----Original Message-----
From: [] On Behalf Of Avgerinos
Sent: 12 August 2018 17:13
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?


Join to automatically receive all group messages.