Sign in to follow this  
Followers 0
cppman

'_' At End Of Line...

3 posts in this topic

#1 ·  Posted (edited)

_ArrayCreate(1, 2, 3, 4, 5, 6_

7, 8, 9, 10, 11_

12, 13, 14, 15, 16)

what is the '_'? because every time i run a script from someone else that has that, it never works.. im sure it is to continue the same line of code on seperate lines... but am not sure how to use it?

how do i use it?

Edited by CHRIS95219

Share this post


Link to post
Share on other sites



I have always wondered what this is:

_ArrayCreate(1, 2, 3, 4, 5, 6_

7, 8, 9, 10, 11_

12, 13, 14, 15, 16)

what is the '_'? because every time i run a script from someone else that has that, it never works.. im sure it is to continue the same line of code on seperate lines... but am not sure how to use it?

how do i use it?

There should be a space from the last character: 6 _ (notice the space) 11 _ not 6_ / 11_, it's an option that allows you to continue on the next line in case your code gets extra long :).

Example:

MsgBox(0, 'Test', "I think it comes in handy" & @CR & _
        "To know trivial things")

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

There should be a space from the last character: 6 _ (notice the space) 11 _ not 6_ / 11_, it's an option that allows you to continue on the next line in case your code gets extra long :).

Example:

MsgBox(0, 'Test', "I think it comes in handy" & @CR & _
        "To know trivial things")
yeah. thanks, i finnaly found it in the help file..

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0