Post Reply 
Problem with append function
06-29-2015, 10:24 AM
Post: #3
RE: Problem with append function
The append() command doesn't save the results in the first argument. It merely "appends" the two arguments together, and the result is available for whatever need might be next, if anything:

Code:

EXPORT test()
BEGIN
  LOCAL xx := {};
  LOCAL yy := 3;
  RETURN append(xx, yy);   //  Returns the result {3}
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with append function - BruceH - 06-28-2015, 10:15 PM
RE: Problem with append function - eried - 06-28-2015, 10:43 PM
RE: Problem with append function - DrD - 06-29-2015 10:24 AM
RE: Problem with append function - BruceH - 06-29-2015, 06:45 PM
RE: Problem with append function - eried - 07-01-2015, 02:42 AM



User(s) browsing this thread: 2 Guest(s)