Shoutbox

VB6 Equality Operator - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: VB6 Equality Operator (/showthread.php?tid=78244)

VB6 Equality Operator by Felu on 10-16-2007 at 09:42 AM

Hey

In VB6, == is an equality operator, right?


RE: VB6 Equality Operator by Jarrod on 10-16-2007 at 10:20 AM

that's how i always thought it went
var = 120
var now equals 120
and if var == then your comparing it


RE: VB6 Equality Operator by Felu on 10-16-2007 at 10:25 AM

I'm talking about VB6 please. I really have a doubt on it, though i know it is an equality operator in most of the languages.


RE: VB6 Equality Operator by Spunky on 10-16-2007 at 10:54 AM

in VB i think it's just

code:
If myVar = true Then
'Do Code
Else
'Do Something Else
End If

RE: VB6 Equality Operator by Felu on 10-16-2007 at 11:45 AM

So basically == won't work, right?


RE: RE: VB6 Equality Operator by Spunky on 10-16-2007 at 12:27 PM

quote:
Originally posted by Felu
So basically == won't work, right?


[Image: attachment.php?pid=855736]

No.