Jump to content



Photo

greater than question


  • Please log in to reply
2 replies to this topic

#1 am632

am632

    Adventurer

  • Active Members
  • PipPip
  • 148 posts

Posted 27 February 2012 - 11:10 PM

Hi,

just a quick 1, its probably really simple but I cant seem to find how to do it.

Basically I have a variable which is a changing number. and I want to do the following.....

If $varnumber = >3 then MsgBox(0,"","exceeds 3") Else MsgBox(0,"","does not exceed 3") EndIf


If $varnumber is greater than 3 then msgbox etc.

Can anyone tell me how to do this please?

Thanks







#2 Aipion

Aipion

    Prodigy

  • Active Members
  • PipPipPip
  • 191 posts

Posted 27 February 2012 - 11:12 PM

this is how you do it.
$varnumber = 4 If $varnumber > 3 then MsgBox(0,"","exceeds 3") Else MsgBox(0,"","does not exceed 3") EndIf

In Development - Setup Fusion

Library - Page Menu Control

Antonio Do Rosario

#3 am632

am632

    Adventurer

  • Active Members
  • PipPip
  • 148 posts

Posted 27 February 2012 - 11:20 PM

Ah, as simple as that :oops:, thanks for your help and the quick response




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users