Jump to content

[newbie] breaking 1 line command into multiple lines


Recommended Posts

I create a combo box:

$var = GuiCtrlCreatecombo("Option 5", 150, 155, 150, 100)

GUICtrlSetData(-1, "Option 1|Option 2|Option 3|Option 4","Option 3")

The problem is there are hundreds of option available so i try to break the command into multiple lines. Try these but non of them works :)

GUICtrlSetData(-1, "Option 1|Option 2|Option 3" _

"|Option 4","Option 3")

or

GUICtrlSetData(-1, "Option 1|Option 2|Option 3 _

|Option 4","Option 3")

Googling and found nothing except that we can use "_" to break the command into multiple lines (which is not working in this case)

Help :)( Please advice.

Many thanks in advance :(

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...