Hey Everybody,
I have a VenApp, where you can save data via .cin files, which may include strings. The problem now is that i would like to reset the string upon loading a file which doesn't have a value for the string included. Unlike the numerical value it doesn't reset the string. I wanted to reset the string via SETVAL now but this doesn't seem to work either. Maybe i am missing some " or '. I am not sure how to work it out. Does anybody have any ideas?
Best regards
Tobi
Manipulatin String variables via Setval in VEnApps
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Hi Toby
SIMULATE>READCIN|
should reset all constants, lookups and string variables to the model defined values (note that you need 5.5d as this was not working in earlier versions).
You can set a string using SIMULATE>SEVAL|stringvar:IS:value - don't need the '' but there is no command to reset constants or stringvars to the model values for a single variable.
SIMULATE>READCIN|
should reset all constants, lookups and string variables to the model defined values (note that you need 5.5d as this was not working in earlier versions).
You can set a string using SIMULATE>SEVAL|stringvar:IS:value - don't need the '' but there is no command to reset constants or stringvars to the model values for a single variable.