condoman Posted February 25, 2005 Posted February 25, 2005 I went to use _Iif(1=1,"t","f") the other day and it is an unknown function. Is it still valid? It is in the help file and shown up in SciTE, but not in color. Thanks
Andre Posted February 25, 2005 Posted February 25, 2005 Hi, This works fine here #include <Misc.au3> Dim $i_Count, $i_Index For $i_Index = 1 To 2 MsgBox(4096, "Count", "This dialog has displayed " & String($i_Index) & _ " time" & _Iif($i_Index > 1, "s", "") & " so far") Next Exit Did u include misc.au3 ?? Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Developers Jos Posted February 25, 2005 Developers Posted February 25, 2005 I went to use _Iif(1=1,"t","f") the other day and it is an unknown function. Is it still valid?It is in the help file and shown up in SciTE, but not in color.Thanks<{POST_SNAPBACK}>Functions (including UDF's) are not Syntax Highlighted, but get the color for WhiteSpace. They do however show up in AutoComplete and in the Helpfile. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
TMXOD Posted June 1, 2005 Posted June 1, 2005 @JdeB OK... so I changed the "fore" and "back" properties of whitespace, yet my UDFs are still not changing color. This is the affected part of my SciTEUser.properties file whitespace.fore=#ffffff whitespace.back=#000000 I have changed the background and foreground color for all types of normal text (white=fg, black=bg) to better fit my computer's color scheme, yet changing the whitespace colors as you stated above will not change the coloring of UDFs. Any idea why? (I know this is off topic, but I have no idea where else to post this)
Developers Jos Posted June 1, 2005 Developers Posted June 1, 2005 (edited) @JdeBOK... so I changed the "fore" and "back" properties of whitespace, yet my UDFs are still not changing color. This is the affected part of my SciTEUser.properties filewhitespace.fore=#ffffff whitespace.back=#000000I have changed the background and foreground color for all types of normal text (white=fg, black=bg) to better fit my computer's color scheme, yet changing the whitespace colors as you stated above will not change the coloring of UDFs. Any idea why?(I know this is off topic, but I have no idea where else to post this)<{POST_SNAPBACK}>Works for me ... did you restart SciTE to load the new color settings ?EDIT: where did you get those lines from??? it should be :#White spacestyle.au3.0=fore:#0000FF,bold,back:#800040Just use SciTEConfig to do it for you .. Ctrl+1 Edited June 1, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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