set $mydictionary['URL1'] 'links internally'; set $mydictionary['URL2'] 'links externally';
After they are created, dictionary variables are globally available in all events until you delete them by using the UNSET Statement.
set $mystream 'test'; open $mystream; put 'The memory variable $mystream is being used as a stream variable'; close;Therefore, the following statements are equivalent:
put $$test; putstream $mystream; putstream test;The following statements are also equivalent:
unset $$test; delstream $mystream; delstream test;
User-defined variables are not case sensitive.
For information about variables, see Understanding Variables.
Event Variables for a list of event variables
Enclose index in brackets.
set $mylist[] 'one'; set $mylist[] 'two'; set $mylist[] 'hello'; set $mylist[2] 'This is Really two';
After they are created, list variables are globally available in all events until you delete them using the UNSET Statement.
set $mystream 'test'; open $mystream; put 'The memory variable $mystream is being used as a stream variable'; close;Therefore, these statements are equivalent:
put $$test; putstream $mystream; putstream test;These statements are also equivalent:
unset $$test; delstream $mystream; delstream test;
set $mydictionary['URL1'] 'links internally'; set $mydictionary['URL2'] 'links externally';