logial between...

User avatar
sal21
PlatinumLounger
Posts: 4362
Joined: 26 Apr 2010, 17:36

logial between...

Post by sal21 »

I need to intercept the value from -500 and +500... with vb6 code
wath is the correct use of "<" and ">".
Tks

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: logial between...

Post by Rudi »

Something like:

Code: Select all

If <control>.value >= -500 AND <control>.value <= 500 then
    TRUE
Else
    FALSE
End If
where <control> is the name of a control of some kind...
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
sal21
PlatinumLounger
Posts: 4362
Joined: 26 Apr 2010, 17:36

Re: logial between...

Post by sal21 »

Rudi wrote:Something like:

Code: Select all

If <control>.value >= -500 AND <control>.value <= 500 then
    TRUE
Else
    FALSE
End If
where <control> is the name of a control of some kind...
tks!