Add Line


The Add Line script command concatenate text to a variable, automatically terminating the text with a carriage return and line feed.

Syntax: Add Line variable += expression Comment

Add Line commands can be selected from the right click menu on a Fetch command. Variable choices are provided for Add Line HTTPHeader and HTTPBody.

Assign HTTPHeader = "Server: Apache"
Example: Add Line HTTPHeader += "Accept-Ranges: bytes" Associated command to concatenate expression text to body along with line terminating CR,LF
Example: Add Line HTTPHeader += "Content-Type: text/html" Associated command to concatenate expression text to body along with line terminating CR,LF
Fetch fetch

Add Line command can also be selected from the right click menu on a Email command. Variable choice is provided for Add Line EmailContents.

Assign EmailContents = "This sets the first line"
Example: Add Line EmailContents += "this is added as the second line" Associated command to concatenate expression text to body along with line terminating CR,LF
Email Email


© 2014 ComroeStudios LLC. All Rights Reserved.