print()
Also may be used as echo()
or write()
.
Allows you to print to the screen from within an <?ev..?>
script code block and generally used when the {{..}}
output is not available.
Example
Switch statements must remain intact, so output from within the switch statement would resemble the following:
<?ev
var val = 1;
switch(val){
case 1:
print('One');
break;
case 2:
print('Two');
break;
default:
print('Many');
}
?>
Note print()
is not a keyword and must be used as a function.