|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
If statement
if for example i have a global variable called M that is an integer and i assign a value to it here and there and there comes a situation that i want to examine the value of M how can i do it?
i mean if for exmaple i want to say if M is not equal to 6 how can i say it in VB? in C you can simply say if(M !=6) in VB i tried something like if NOT(M=6) then .... but it didnt work how do i do it? |
|
#2
|
||||
|
||||
|
If M <> 6 Then
|
|
#3
|
|||
|
|||
|
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > If statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|