Subject: | |
From: | |
Reply To: | |
Date: | Tue, 20 Feb 2001 14:32:04 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi
John is correct if you issue the following ISITSO will be set to TRUE.
:SETVAR FALSE "TRUE"
:SETVAR ISITSO,FALSE
:SHOWVAR ISITSO
ISITSO = TRUE
Although I am ready to be corrected I believe the syntax for SETVAR is
that SETVAR X,Y sets the value of variable X to the value of variable Y,
whereas SETVAR X "Y" set variable X to the value X.
Therefore I believe that you have a variable called FALSE that has a
value of "TRUE". Possibly SETVAR ISITSO "FALSE" may do the trick.
I have just run up a Copy of ScreenJet Designer and an application using
a GUI created by it and can find no trace of it issuing a SETVAR FALSE.
This is not a definitive answer, but a reasonably qualified one.
Alan
In article <[log in to unmask]>, John Clogg
<[log in to unmask]> writes
>The only thing I could think of would be if a Boolean variable named FALSE,
>with a value of TRUE exists for your session.
>
>-----Original Message-----
>From: John Pollard [mailto:[log in to unmask]]
>Sent: Tuesday, February 20, 2001 9:38 AM
>To: [log in to unmask]
>Subject: Scratching my head; boolean variables always TRUE
>
>
>I recently encountered a situation that I simply can not explain. In
>certain situations, my session becomes unable to set a boolean variable to
>FALSE. Doesn't matter if it is a CI variable like HPCMDTRACE or one of my
>own creation. Doesn't matter if already existed or was created for the
>first time by my "setvar".
>
>I can do the following:
>
>SETVAR ISITSO,FALSE
>SHOWVAR ISITSO
>
>and the result is:
>ISITSO = TRUE
>
>How could this ever happen?
>
>Possible background info:
>This just began happening after I started testing a demo of a product
>mentioned on this list, namely: ScreenJet. I am not pointing any fingers
>here; coincidences happen all the time. I have submitted this question to
>the makers of ScreenJet, but thought I would run it by the astute members
>of this list; since I could not conceive how anything could cause this
>phenomenon to occur.
>
Alan Yeo
[log in to unmask] Just because you're paranoid
Phone +44 1684 291710 it doesn't mean someone isn't!.
Fax +44 1684 291712
|
|
|