Guest wild Posted June 24, 2004 Share Posted June 24, 2004 (edited) please make autoit free-format like in kixtart for example IF @PRIV="ADMIN" DISPLAY "ADMIN.TXT" ELSE DISPLAY "USER.TXT" ENDIF is equivalent to If @PRIV = "admin" Display "ADMIN.TXT" Else Display "user.txt" Endif or add a symbol ":" like VBScript If x = 4 Then : y = 1 : Else : y = 0 : Endif is equivalent to If x = 4 Then y = 1 Else y = 0 Endif Edited June 24, 2004 by wild Link to comment Share on other sites More sharing options...
Guest wild Posted June 24, 2004 Share Posted June 24, 2004 what preprocessor changing the ':' to '\n' because '\n' terminate a statement Link to comment Share on other sites More sharing options...
tylo Posted June 30, 2004 Share Posted June 30, 2004 Yep, the ':' thing should be easy. The Lexer would only need to pass '\n' to the parser whenever it scans a ':' or a '\n' in the input file (outside strings and comments of course). blub 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