Post Reply 
Clear All Expression in App?
01-14-2017, 09:23 PM
Post: #1
Clear All Expression in App?
Can you share any ideas on how to best clear ALL of the expressions in an app, programmatically? (Like [Shift] [ ESC] does). I was wondering if there is such a thing as a fully qualified app_name.reset kind of thing?

Specifically, I'm working with the Advanced Graphing app...

Thanks,
-Dale-
Find all posts by this user
Quote this message in a reply
01-14-2017, 09:34 PM (This post was last modified: 01-14-2017 09:41 PM by Han.)
Post: #2
RE: Clear All Expression in App?
Just set them to null strings. For example:

V0:="";

Code:

nullstring:="";
nullstring:=string(nullstring);
for n from 0 to 9 do
  cmd:="V" + n + ":=" + nullstring;
  expr(cmd);
end;

EDIT: Be aware that the number format could affect the way numbers are turned into strings.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
01-14-2017, 09:48 PM
Post: #3
RE: Clear All Expression in App?
Thanks. That was the way I had been doing it, but thought there may be a simpler way, perhaps using the esc shift, somehow.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: