mschol Posted August 23, 2007 Share Posted August 23, 2007 i want to convert a php script to autoit and i was wondering if autoit knows something like the NULL value of php Link to comment Share on other sites More sharing options...
fowmow Posted August 23, 2007 Share Posted August 23, 2007 (edited) Well, thinking "VB" I would have to say no. The "Nul" character is not the same as NULL for example. The nearest thing I can think of would be to set your variable to False, "", or 0. In fact... even better, set your variable to -1. Global $NULL = -1oÝ÷ Ù8^ëÓ~P²ðêÞ½êò¢éÞyØ21¬zØZ¶ÈhºW[y«¢+Ù±½° ½¹ÍÐÀÌØí9U10ô´Ä There could be better ways... I am fairly new to AutoIt. Edited August 23, 2007 by fowmow Link to comment Share on other sites More sharing options...
James Posted August 23, 2007 Share Posted August 23, 2007 If $myvar = 0 Then MsgBox(0, "", "MyVar = 0") Else MsgBox(0, "", "MyVar is not 0!") EndIf Or $MyVar = 0 Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
fowmow Posted August 23, 2007 Share Posted August 23, 2007 Copycat! 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