I have some script lines which are wider than the screen.
Can you split a script line and if so what is the line continuation characer(s) please.
Can you split a script line and if so what is the line continuation characer(s) please.
Hi,
It is not possible. You have to use the horizontal scroll bar. However if the long lines are used to assign text to a variable you can do the following:
[scriptftp file="split_text_literal_sentence_example.ftp"]$myvar = "This is a long text string "
$myvar = $myvar."splitted into multiple code sentences "
$myvar = $myvar."and the result is the same as one full line"
# It should print: This is a long text string splitted into multiple code sentences and
# the results is the same as one full line
PRINT($myvar)[/ScriptFTP]
It is not possible. You have to use the horizontal scroll bar. However if the long lines are used to assign text to a variable you can do the following:
[scriptftp file="split_text_literal_sentence_example.ftp"]$myvar = "This is a long text string "
$myvar = $myvar."splitted into multiple code sentences "
$myvar = $myvar."and the result is the same as one full line"
# It should print: This is a long text string splitted into multiple code sentences and
# the results is the same as one full line
PRINT($myvar)[/ScriptFTP]
liked Script FTP? Try our other product Email Parser