Medic873 Posted August 30, 2010 Share Posted August 30, 2010 Okay here is my issue. i want to use the do until function so do until $Answer *Dosnt Equal 3 how do I use dosnt equal instead of dose equal. Link to comment Share on other sites More sharing options...
kaotkbliss Posted August 31, 2010 Share Posted August 31, 2010 equal = not equal <> or Not($var=3) 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Bowmore Posted August 31, 2010 Share Posted August 31, 2010 Like this Do Until $Answer <> 3 Or alternatively Do Until Not ($Answer = 3) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook Link to comment Share on other sites More sharing options...
Medic873 Posted August 31, 2010 Author Share Posted August 31, 2010 Im still confused Like this $i = 1 Do $i = $i + $i msgbox (1, "Number", $i); until <> $i = 1 Link to comment Share on other sites More sharing options...
enaiman Posted August 31, 2010 Share Posted August 31, 2010 This is the example under Help-> Do-Until. I have changed very little: $i = 0 Do MsgBox(0, "Value of $i is:", $i) $i = $i + 1 Until $i <> 1 A bit more reading will definitely help - always. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now