GodForsakenSoul Posted August 3, 2010 Posted August 3, 2010 newbie-ish question this time. on my programming courses we're currently using VB6 (shuddap =[) as a form of intro to programming. in it, our teacher uses _ to seperate lines. for an example text.text=testarr(1)_ & testarr(2)_ i can't seem to do it in autoit. i use that exact form. well, tried to anyway. told me i have a sytax error because of a seemingly random &. i know it can cut strings, but i want to cut code. for better reading. what's the proper way?
Developers Jos Posted August 3, 2010 Developers Posted August 3, 2010 Are you using au3check to check the syntax? 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.
GodForsakenSoul Posted August 4, 2010 Author Posted August 4, 2010 i.... don't know.... ._.; the little windows Scite tells me where i did wrong is au3check?
AdmiralAlkex Posted August 4, 2010 Posted August 4, 2010 Maybe. Just read what the little window says? Quick example of splitting string and function call: $lines = "line one" & _ "line two" _ & "line three" & _ "line four" MsgBox(0, _ "testing", _ $lines) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Developers Jos Posted August 4, 2010 Developers Posted August 4, 2010 The reason for my remark is that there a many syntax errors in your 2 lines of code and au3check will help you point them out one by one. Its a little more descriptive than the AutoIt3 lexer. It will run automatically when you have installed SciTE4AutoIt3 full installer whenever you do F5 or F7. 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