Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vbs code
#6
In QM 2.1.5, multiline strings will be implemented using comments. If first line of comments begins with $variable, then is created local lpstr variable and populated with following commented lines. Commenting multiple lines is easy: select all lines and press space.

For example,
Code:
Copy      Help
[color=green];$vbs_1
;Dim av
;Set av = CreateObject("Avedesk.Application")
;av.ShowControlPanel
;[/color]
VbsExec vbs_1
will be eqivalent to
Code:
Copy      Help
[color=blue]lpstr [/color]vbs_1="Dim av[]Set av = CreateObject(''Avedesk.Application'')[]av.ShowControlPanel[]"
VbsExec vbs_1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)