Reset and remove variables in memory from journal file
2 posts
• Page 1 of 1
Reset and remove variables in memory from journal file
Typically, I would would initiate a journal file with the "reset" command, which resets the current environment. However, I've found that this does not remove variables created from previously executed journal files (simple example at bottom). Is there a command that removes variables created from a journal file analogous to the reset command? This can cause undiscovered problems when working with multiple journal files within the same instance of Trelis.
Thanks,
Markus
Execute alpha:
reset
{test_var=10}
Execute beta:
reset
brick x {test_var} y {test_var} z {test_var}
Since the variable test_var is still in memory when executing beta, a brick is created.
Thanks,
Markus
Execute alpha:
reset
{test_var=10}
Execute beta:
reset
brick x {test_var} y {test_var} z {test_var}
Since the variable test_var is still in memory when executing beta, a brick is created.
- pirom
- Posts: 11
- Joined: Tue May 14, 2013 1:18 pm
Re: Reset and remove variables in memory from journal file
There is currently no clear variable command. We've added this to our development plan and will make this available in a future version.
csimsoft
- csimsoft Moderator
- Posts: 264
- Joined: Tue Feb 14, 2012 5:59 pm
- Location: American Fork, UT
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest