Scripting

A script specifies the layout and behavior of HTML pages. Script segments are enclosed between the <% and %> or <%= and %> delimiter pairs. The latter entails special use and meaning in the script file. For example, in each script segment, there must be at least one valid executable, or non-comment, statement. There must also be at least one scripting segment in the .mcs file. Any empty script segment generates a syntax error. Scripting segments can be freely intermixed with standard HTML text, provided that the script-generated HTML output has the valid syntax within the context of the standard HTML display code.