Jump to content

Recommended Posts

Posted (edited)

In my main script the array goes off the screen and I have to scroll to the right to input more.. Is there a way to stack it like shown below?

;Original
Global $arr[] = [3, "1","2","3"]
;What I'd like I do
Global $arr[] = [5, "1",
                "2","3",
                "4","5"]

 

Edited by aa2zz6
  • Moderators
Posted (edited)

aa2zz6,

Use the line continuation operator:

;What I'd like I do
Global $arr[] = [5, "1", _
                "2","3", _
                "4","5"]

M23

Edit: It is found in the Help file under <Language Reference - Comments>.

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

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