Post Reply 
define questions
06-21-2017, 11:07 PM
Post: #6
RE: define questions
(06-21-2017 03:17 PM)webmasterpdx Wrote:  I've had a thought though, (possibly using 'n' as an argument, which "kind" of works like passing in a pointer)....need to experiment a little. I'll post if I can get it to work.

If you define INC2 as: EXPR(REPLACE("X:=X+2","X",Y)) with Y checked then the following program will increment the local variable m by 2 and return 3:
Code:
EXPORT TST2()
BEGIN
LOCAL m;
  m:=1;
  INC2("m");
  RETURN m;
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
define questions - webmasterpdx - 06-21-2017, 12:31 PM
RE: define questions - Tim Wessman - 06-21-2017, 02:04 PM
RE: define questions - DrD - 06-21-2017, 02:14 PM
RE: define questions - webmasterpdx - 06-21-2017, 03:17 PM
RE: define questions - Didier Lachieze - 06-21-2017 11:07 PM
RE: define questions - DrD - 06-21-2017, 09:19 PM
RE: define questions - AlexFekken - 06-22-2017, 02:12 AM
RE: define questions - webmasterpdx - 06-22-2017, 12:05 PM



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