User Guide : Using Content Extraction Language : CXL Quick Reference : Statements in Actions
Share this page             
Statements in Actions
# comment use to comment script
catchup on; catchup off; use to turn CATCHUP mode on and off
function calls perform data manipulation functions
control statements
for (variable in array) {statements } loops through all elements of an array
if (condition) {statements }
else {statements } standard if/else processing
while (condition) { statements } loops until the condition is false
break; causes processing on the current line to stop
reject; also causes processing on the current line to stop
abort causes script processing to terminate
{ statements } group of statements (action) performed on every line if no pattern exists
clearvars; initializes all variables but built-in variables
accept ("recordname")
<"fieldname"> <len> expr,
<"fieldname"> <len> expr, ...; returns a record to the Map Designer with the values contained in the expression list