Elevate Web Builder Technical Support
Elevate Web Builder General
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Wed, Feb 13 2013 10:41 AM
MyValue : String;
MyValue := Window.SessionStorage.GetItem('my_value');
// How can I check if MyValue is null or not?
Right now I read a value and check if it is '1', and if it isn't then I assume my
settings are not initialised, but I'd rather have a better test.
Thu, Feb 14 2013 12:42 PM
Tim Young [Elevate Software]
Elevate Software, Inc.
<< // How can I check if MyValue is null or not? >>
Just use this:
if (MyValue=nil) then
ShowMessage('Value is null');
In EWB, strings, like arrays, can be nil if they haven't been assigned or
their length assigned via SetLength().
If you have any other questions, please let me know.
This web page was last updated on
Friday, March 17, 2023 at 10:08 PM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ?
E-mail us at