Re: How can I check to see if a variable has been defined
From: ALAN MEBAN <AMEBAN_at_bfsec.bt.co.uk>
Date: 31 Aug 1993 03:44:33 -0500
Message-ID: <930831093728.20820e1d_at_bfsec>
end if;
Date: 31 Aug 1993 03:44:33 -0500
Message-ID: <930831093728.20820e1d_at_bfsec>
Thanks to all those who replied with postings, or with email. A summary follows:
Use 'default_value' ... though be careful of the syntax. The following actually works:
default_value('ZOT', 'global.var');
if :global.var = 'ZOT' then
erase('global.var'); bell; message('Oh no you don''t ...'); exit_form(NO_COMMIT);
end if;
- continue with :global.var defined ...
Note the syntax of default_value:
default_value (<substitution value>, <variable in quotes & no colon>)
Once again, many thanks.
Alan Meban / ameban_at_bfsec.bt.co.uk
"My views, not theirs ..." Received on Tue Aug 31 1993 - 10:44:33 CEST