Post Reply 
Debugging With an Orange Bang
06-30-2017, 05:22 PM
Post: #11
RE: Debugging With an Orange Bang
Couldn't you just make c a local variable? Like this:

Code:
LOCAL DoSomeStuff();
LOCAL c;

EXPORT TryThis()
BEGIN
 c:={0,0}; // initialize c
 DoSomeStuff(); // do what ever you want with c

// do some more stuff with c
 print();
 print(c);
 return c;
END;

DoSomeStuff()
BEGIN
 c:={2,2};
 return 1;
END;

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Debugging With an Orange Bang - toml_12953 - 06-29-2017, 02:58 AM
RE: Debugging With an Orange Bang - roadrunner - 06-30-2017 05:22 PM



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