User Vachhani, Prasann (email@example.com) posted:
Is there a function in TSL to check if a particular option exists.. (for
example.. if you've set an option using setvar() ).
If you tried to do getvar() on an undefined option, it'll give you undefined
variable. Is there a check for this?
Notice Regarding Entry of Orders and Instructions:
Please do not transmit orders and/or instructions regarding your Robertson Stephens account(s) by e-mail. Orders and/or instructions transmitted by e-mail will not be accepted by Robertson Stephens, and Robertson Stephens will not be responsible for carrying out such orders and/or instructions.
Notice Regarding Privacy and Confidentiality:
Robertson Stephens reserves the right to monitor and review the content of all e-mail communications sent and/or received by its employees.
These are the values contained within the wr.ini file. you can read the file in and search each line for the variable sought or if the get_env function returns "variable not found" trap for that error and create them section by using the WriteProfileStringA() Win32 call ...
Just off the top of my head, I haven't tried this ...
Quality Assurance - TDEC
Majestic Integration Systems
"WinRunner Developer - A red-eyed, mumbling mammal capable of conversing with inanimate objects."