Code: Select all
$items = <<<#>>>
End 'DeBug' (ESC) : End
...
-
Call Demo '_Test' (Time!) : Demo#>>> ; // <<<== create Selection Menu, then ==>>>
$next = PopupMenu($items, 600, 300, , , , <crlf>, ' : ', 'Cancel');After having added the comment, the script fails. It seems the tabs in front of the comment are not converted to blanks, but misinterpreted as illegal characters in front of the next line.
I think this is a
Adding a NL between ';' and the tabs, i.e. moving the comment to it's own line, makes it work again. (But is 1 line more...)
And a correlated wish: would it be possible to allow a comment in the starting line of a Heredoc, i.e.
Code: Select all
$items = <<<#>>> // document what's up here
End 'DeBug' (ESC) : End
...
XYplorer Beta Club