This code caused runtime errors, but it compiled.
Local $acceptable[] = ["Chrome",_ "Firefox",_ "IE"]
It works if I move it all on one line. However, I want to declare many elements. How to declare it in several lines?
By Language Reference - Comments (highlighted by me):
Although only one statement is allowed per line, a long statement can span multiple lines if an underscore " _ " is preceded at the end of a "broken" line , followed by a blank . The definition of a string cannot be divided into several lines; you must use concatenation.
_
Example ( space before each underscore):
#include <Array.au3> Global Const $g_aAcceptable[] = ["Chrome", _ "Firefox", _ "IE"] _ArrayDisplay($g_aAcceptable)
Source: https://habr.com/ru/post/907619/More articles:Continue the command on the next line - autoitaddChildViewController and presentViewController - uiviewcontrollerboto.s3: copy () on the key object loses metadata Content-Type - content-typeSplit a large string - stringHow to pack a library in ActionScript3 (equivalent to jar?) - actionscriptUnexpected behavior from _StringExplode () - splitFacebook feed functionality? - javascriptWhat is the best way to distribute as3 classes and packages? - classhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/907623/android-is-it-efficient-to-store-references-to-views-as-member-variables&usg=ALkJrhgxe1ZCjijVVML5a0-aU17dmoAi_QCompile SWC with COMPC, excluding third-party libraries - flexAll Articles