<%importfile="../../globals.dim#*" 
%>
<html>
<head>
<TITLE>DIML Test Page (short)</TITLE>
<LINK HREF="<%%STYLES_ROOT_URL%%>printable.css" 
TYPE="text/css" REL="stylesheet">
</head>
<body>
<H1>DIML Test Page</H1>
<H2>PHP Implementation</H2>
<H3>System variable calls</H3>

<P>
<PRE>
&lt;%%ESSI::OUTPUT_TYPE%%&gt; : "<SPAN class=result><%%ESSI::OUTPUT_TYPE%%></SPAN>"
&lt;%%ESSI::TEMPLATE_PATH%%&gt; : "<SPAN class=result><%%ESSI::TEMPLATE_PATH%%></SPAN>"
&lt;%%ESSI::INVOKE_PATH%%&gt; : "<SPAN class=result><%%ESSI::INVOKE_PATH%%></SPAN>"
&lt;%%ESSI::VERSION%%&gt; : "<SPAN class=result><%%ESSI::VERSION%%></SPAN>"
&lt;%%ESSI::AUTHOR%%&gt; : "<SPAN class=result><%%ESSI::AUTHOR%%></SPAN>"
</PRE>

<H3>CGI variable calls</H3>

<P>
<PRE>
&lt;%%FORM::session%%&gt; : "<SPAN class=result><%%FORM::session%%></SPAN>"
</PRE>

<H3>Simple template declaration</H3>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="aTemplate"&gt;</SPAN>
a template declaration
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplate">
a template declaration
</TEMPLATE>

&lt;%%aTemplate%%&gt; : "<SPAN class=result><%%aTemplate%%></SPAN>"
Syntax tolerance &lt;% %aTemplate% %&gt; : "<SPAN class=result><% %aTemplate% %></SPAN>"
</PRE>

<H3>Template exotic namings</H3>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="FUNCTION()"&gt;</SPAN>
a special "function-like" naming
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="FUNCTION()">
a special "function-like" naming
</TEMPLATE>
 
&lt;%%FUNCTION()%%&gt; : "<SPAN class=result><%%FUNCTION()%%></SPAN>"
</PRE>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="MULTIPLE::SCOPED::VARIABLE"&gt;</SPAN>
a "scoped" naming
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="MULTIPLE::SCOPED::VARIABLE">
a "scoped" naming
</TEMPLATE>
 
&lt;%%MULTIPLE::SCOPED::VARIABLE%%&gt; : "<SPAN class=result><%%MULTIPLE::SCOPED::VARIABLE%%></SPAN>"
</PRE>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="BUZZY-š¨^%ú$"&gt;</SPAN>
somewhat strange, is'nt it ?
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="BUZZY-š¨^%ú$">
somewhat strange, is'nt it ?
</TEMPLATE>
 
&lt;%%BUZZY-š¨^%ú$%%&gt; : "<SPAN class=result><%%BUZZY-š¨^%ú$%%></SPAN>"
</PRE>

<H3>Simple variable call modifiers</H3>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="aTemplateTooLong" INLINE&gt;</SPAN>
a template declaration wich is too long to fit into available space
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplateTooLong" INLINE>
a template declaration wich is too long to fit into available space
</TEMPLATE>
 
<SPAN class=template>&lt;TEMPLATE ID="aTemplateTooShort" INLINE&gt;</SPAN>
zip!
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplateTooShort" INLINE>
zip!
</TEMPLATE>
 
&lt;%%aTemplateNull DEFAULT="No Value"%%&gt; : "<SPAN class=result><%%aTemplateEmpty DEFAULT="No Value"%%></SPAN>"
&lt;%%aTemplateTooLong MAXLENGTH="20"%%&gt; : "<SPAN class=result><%%aTemplateTooLong MAXLENGTH="20"%%></SPAN>"
&lt;%%aTemplateTooShort MINLENGTH="20"%%&gt; : "<SPAN class=result><%%aTemplateTooShort MINLENGTH="20"%%></SPAN>"
</PRE>

<H3>Inline template declaration</H3>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="aTemplateInline" INLINE&gt;</SPAN>
a template declaration
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplateInline" INLINE>
a template declaration
</TEMPLATE>
&lt;%%aTemplateInline%%&gt; : "<SPAN class=result><%%aTemplateInline%%></SPAN>"
</PRE>

<H3>Static template declaration</H3>

<P>
<PRE>
<SPAN class=template>&lt;TEMPLATE ID="aTemplateStatic" STATIC&gt;</SPAN>
a template declaration holding &lt;%%VARIABLE%%&gt;
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplateNonStatic">
a template declaration holding <SPAN class=result><%%VARIABLE%%></SPAN>
</TEMPLATE>

<SPAN class=template>&lt;TEMPLATE ID="aTemplateNonStatic" STATIC&gt;</SPAN>
a template declaration holding &lt;%%VARIABLE%%&gt;
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="aTemplateStatic" STATIC>
a template declaration holding <SPAN class=result><%%VARIABLE%%></SPAN>
</TEMPLATE>
 
&lt;%set %VARIABLE% = "variables" %&gt; <%set%VARIABLE% 
= "variables" %>
&lt;%%aTemplateStatic%%&gt; : "<SPAN class=result><%%aTemplateStatic%%></SPAN>"
&lt;%set %VARIABLE% = "other variables" %&gt; <%set%VARIABLE% 
= "other variables" %>
&lt;%%aTemplateStatic%%&gt; : "<SPAN class=result><%%aTemplateStatic%%></SPAN>"
 
&lt;/TEMPLATE&gt;&lt;%set %VARIABLE% = "variables" %&gt; <%set%VARIABLE% 
= "variables" %>
&lt;%%aTemplateNonStatic%%&gt; : "<SPAN class=result><%%aTemplateNonStatic%%></SPAN>"
&lt;%set %VARIABLE% = "other variables" %&gt; <%set%VARIABLE% 
= "other variables" %>
&lt;%%aTemplateNonStatic%%&gt; : "<SPAN class=result><%%aTemplateNonStatic%%></SPAN>"
</PRE>

<H3>Variable <B>set</B> and <B>eval</B> initializers</H3>

<H4>Set/Eval data names</H4>

<P>
<PRE>
&lt;%set %simpleVar% = "adata" %&gt;<%set%simpleVar% 
= "adata" %>
&lt;%%simpleVar%%&gt; = "<SPAN class=result><%%simpleVar%%></SPAN>"
 
&lt;%set %_underscored% = "underscore" %&gt;<%set%_underscored% 
= "underscore" %>
&lt;%%_undescored%%&gt; = "<SPAN class=result><%%_underscored%%></SPAN>"
 
&lt;%set %@exotic!?-{}% = "is this really usefull ?" %&gt;<%set%@exotic!?-{}% 
= "is this really usefull ?" %>
&lt;%%@exotic!?-{}%%&gt; = "<SPAN class=result><%%@exotic!?-{}%%></SPAN>"
 
&lt;%set %functionLike()% = "afunction" %&gt;<%set%functionLike()% 
= "afunction" %>
&lt;%%functionLike()%%&gt; = "<SPAN class=result><%%functionLike()%%></SPAN>"
 
&lt;%set %SCOPE::scoped% = "a scoped var" %&gt;<%set%SCOPE::scoped% 
= "a scoped var" %>
&lt;%%SCOPE::scoped%%&gt; = "<SPAN class=result><%%SCOPE::scoped%%></SPAN>"
 
&lt;%eval %simpleVar% = "evaluated adata" %&gt;<%set%simpleVar% 
= "evaluated adata" %>
&lt;%%simpleVar%%&gt; = "<SPAN class=result><%%simpleVar%%></SPAN>"
 
&lt;%eval %_underscored% = "evaluated underscore" %&gt;<%set%_underscored% 
= "evaluated underscore" %>
&lt;%%_undescored%%&gt; = "<SPAN class=result><%%_underscored%%></SPAN>"
 
&lt;%eval %@exotic!?-{}% = "evaluated is this really usefull ?" %&gt;<%set%@exotic!?-{}% 
= "evaluated is this really usefull ?" %>
&lt;%%@exotic!?-{}%%&gt; = "<SPAN class=result><%%@exotic!?-{}%%></SPAN>"
 
&lt;%eval %functionLike()% = "evaluated afunction" %&gt;<%set%functionLike()% 
= "evaluated afunction" %>
&lt;%%functionLike()%%&gt; = "<SPAN class=result><%%functionLike()%%></SPAN>"
 
&lt;%eval %SCOPE::scoped% = "an evaluated scoped var" %&gt;<%set%SCOPE::scoped% 
= "an evaluated scoped var" %>
&lt;%%SCOPE::scoped%%&gt; = "<SPAN class=result><%%SCOPE::scoped%%></SPAN>"
</PRE>

<H4>Setting/Evaluating to empty string</H4>

<P>
<PRE>
&lt;%set %simpleVar% = "" %&gt;<%set%simpleVar% 
= "" %>
&lt;%%simpleVar%%&gt; = "<SPAN class=result><%%simpleVar%%></SPAN>"
</PRE>

<P>
<PRE>
&lt;%eval %_underscored% = "" %&gt;<%eval%_underscored% 
= "" %>
&lt;%%_underscored%%&gt; = "<SPAN class=result><%%_underscored%%></SPAN>"
</PRE>

<H4>Set/Eval effect</H4>

<P>
<PRE>
&lt;%set %embedded% = "embedded and escaped" %&gt;<%set%embedded% 
= "embedded and escaped" %>
&lt;%set %NewSetVariable% = "a new variable that contains &amp;lt;%%embedded%%&amp;gt; 
calls" %&gt;<%set%NewSetVariable% 
= "a new variable that contains &lt;%%embedded%%&gt; calls" %>
&lt;%eval %NewEvaluatedVariable% = "a new variable that contains &amp;lt;%%embedded%%&amp;gt; 
calls" %&gt;<%eval%NewEvaluatedVariable% 
= "a new variable that contains &lt;%%embedded%%&gt; calls" %>
 
&lt;%%embedded%%&gt; : "<SPAN class=result><%%embedded%%></SPAN>"
&lt;%%NewSetVariable%%&gt; : "<SPAN class=result><%%NewSetVariable%%></SPAN>"
&lt;%%NewEvaluatedVariable%%&gt; : "<SPAN class=result><%%NewEvaluatedVariable%%></SPAN>"
&lt;%set %embedded% = "changed content" %&gt;<%set%embedded% 
= "changed content" %>
&lt;%%NewSetVariable%%&gt; : "<SPAN class=result><%%NewSetVariable%%></SPAN>"
&lt;%%NewEvaluatedVariable%%&gt; : "<SPAN class=result><%%NewEvaluatedVariable%%></SPAN>"
</PRE>

<H3>Simple vector operations</H3>

<H4>Simple vector finite iteration</H4>

<P>
<PRE>
&lt;%set %TABLE1ž0% = "zero" %&gt;<%set%TABLE1ž0% 
= "zero" %>
&lt;%set %TABLE1ž1% = "one" %&gt;<%set%TABLE1ž1% 
= "one" %>
&lt;%set %TABLE1ž2% = "two" %&gt;<%set%TABLE1ž2% 
= "two" %>
&lt;%set %TABLE1ž3% = "three" %&gt;<%set%TABLE1ž3% 
= "three" %>
&lt;%set %TABLE1ž4% = "four" %&gt;<%set%TABLE1ž4% 
= "four" %>
&lt;%set %TABLE1ž5% = "five" %&gt;<%set%TABLE1ž5% 
= "five" %>
 
<SPAN class=template>&lt;TEMPLATE ID="SIMPLE_SCAN" INLINE&gt;</SPAN>
"&lt;%%TABLE1[]%%&gt;" 
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="SIMPLE_SCAN" INLINE>
"<%%TABLE1[]%%>" 
</TEMPLATE>
 
&lt;%%SIMPLE_SCAN[4]%%&gt; = "<SPAN class=result><%%SIMPLE_SCAN[4]%%></SPAN>"
</PRE>

<H4>Offset table access</H4>

<P>
<PRE>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>" 
(from last test)
&lt;%%TABLE1[]%%&gt; : "<SPAN class=result><%%TABLE1[]%%></SPAN>" 

&lt;%%TABLE1[-1]%%&gt; : "<SPAN class=result><%%TABLE1[-1]%%></SPAN>" 

&lt;%%TABLE1[+1]%%&gt; : "<SPAN class=result><%%TABLE1[+1]%%></SPAN>" 

</PRE>

<H4>Table access via indirection</H4>

<P>
<PRE>
&lt;%set %INDIRECTION% = "3" %&gt;<%set%INDIRECTION% 
= "3" %>
&lt;%%TABLE1[%INDIRECTION%]%%&gt; : "<SPAN class=result><%%TABLE1[%INDIRECTION%]%%></SPAN>" 
</PRE>

<H4>Cursor movement operations</H4>

<P>
<PRE>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>" 
(from last test)
&lt;%rewind %TABLE1% %&gt;<%rewind%TABLE1% 
%>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>"

&lt;%next %TABLE1% %&gt;<%next%TABLE1% 
%>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>"
&lt;%next %TABLE1% %&gt;<%next%TABLE1% 
%>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>"

&lt;%back %TABLE1% %&gt;<%back%TABLE1% 
%>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>"
&lt;%back %TABLE1% %&gt;<%back%TABLE1% 
%>
&lt;%%TABLE1žI%%&gt; : "<SPAN class=result><%%TABLE1žI%%></SPAN>"
</PRE>

<H4>Simple vector indefinite iteration</H4>

<P><PRE>
&lt;%rewind %SIMPLE_SCAN% %&gt;<%rewind%SIMPLE_SCAN% 
%>
&lt;%%SIMPLE_SCANžI%%&gt; : "<SPAN class=result><%%SIMPLE_SCANžI%%></SPAN>"
&lt;%set %SIMPLE_SCANžC% = "6" %&gt;<%set%SIMPLE_SCANžC% 
= "6" %>
&lt;%%SIMPLE_SCAN[*]%%&gt; = "<SPAN class=result><%%SIMPLE_SCAN[*]%%></SPAN>"
</PRE>

<H3>Matrix operations</H3>

<H4>Matrix iteration (table scan)</H4>

<P>
<PRE>
&lt;%set %TABLEž0ž0% = "A0" %&gt;<%set%TABLEž0ž0% 
= "A0" %>
&lt;%set %TABLEž1ž0% = "A1" %&gt;<%set%TABLEž1ž0% 
= "A1" %>
&lt;%set %TABLEž2ž0% = "A2" %&gt;<%set%TABLEž2ž0% 
= "A2" %>
&lt;%set %TABLEž3ž0% = "A3" %&gt;<%set%TABLEž3ž0% 
= "A3" %>
&lt;%set %TABLEž4ž0% = "A4" %&gt;<%set%TABLEž4ž0% 
= "A4" %>
&lt;%set %TABLEž0ž1% = "B0" %&gt;<%set%TABLEž0ž1% 
= "B0" %>
&lt;%set %TABLEž1ž1% = "B1" %&gt;<%set%TABLEž1ž1% 
= "B1" %>
&lt;%set %TABLEž2ž1% = "B2" %&gt;<%set%TABLEž2ž1% 
= "B2" %>
&lt;%set %TABLEž3ž1% = "B3" %&gt;<%set%TABLEž3ž1% 
= "B3" %>
&lt;%set %TABLEž4ž1% = "B4" %&gt;<%set%TABLEž4ž1% 
= "B4" %>
&lt;%set %TABLEž0ž2% = "C0" %&gt;<%set%TABLEž0ž2% 
= "C0" %>
&lt;%set %TABLEž1ž2% = "C1" %&gt;<%set%TABLEž1ž2% 
= "C1" %>
&lt;%set %TABLEž2ž2% = "C2" %&gt;<%set%TABLEž2ž2% 
= "C2" %>
&lt;%set %TABLEž3ž2% = "C3" %&gt;<%set%TABLEž3ž2% 
= "C3" %>
&lt;%set %TABLEž4ž2% = "C4" %&gt;<%set%TABLEž4ž2% 
= "C4" %>
&lt;%set %TABLEž0ž3% = "D0" %&gt;<%set%TABLEž0ž3% 
= "D0" %>
&lt;%set %TABLEž1ž3% = "D1" %&gt;<%set%TABLEž1ž3% 
= "D1" %>
&lt;%set %TABLEž2ž3% = "D2" %&gt;<%set%TABLEž2ž3% 
= "D2" %>
&lt;%set %TABLEž3ž3% = "D3" %&gt;<%set%TABLEž3ž3% 
= "D3" %>
&lt;%set %TABLEž4ž3% = "D4" %&gt;<%set%TABLEž4ž3% 
= "D4" %>
&lt;%set %TABLEž0ž4% = "E0" %&gt;<%set%TABLEž0ž4% 
= "E0" %>
&lt;%set %TABLEž1ž4% = "E1" %&gt;<%set%TABLEž1ž4% 
= "E1" %>
&lt;%set %TABLEž2ž4% = "E2" %&gt;<%set%TABLEž2ž4% 
= "E2" %>
&lt;%set %TABLEž3ž4% = "E3" %&gt;<%set%TABLEž3ž4% 
= "E3" %>
&lt;%set %TABLEž4ž4% = "E4" %&gt;<%set%TABLEž4ž4% 
= "E4" %>

<SPAN class=template>&lt;TEMPLATE ID="ROWS" INLINE&gt;</SPAN>
&lt;%%CELLS[4]%%&gt;
 
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="ROWS" INLINE>
<%%CELLS[4]%%>

</TEMPLATE>
 
<SPAN class=template>&lt;TEMPLATE ID="CELLS" INLINE&gt;</SPAN>
"&lt;%%TABLE[][]%%&gt;" 
<SPAN class=template>&lt;/TEMPLATE&gt;</SPAN>
<TEMPLATE ID="CELLS" INLINE>
"<%%TABLE[][]%%>" 
</TEMPLATE>
 
&lt;%%ROWS[4]%%&gt; = "
<SPAN class=result><%%ROWS[4]%%></SPAN>"
</PRE>

<H4>Offset table access</H4>

<P>
<PRE>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>" 
(from last test)
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>" 
(from last test)
&lt;%%TABLE[][]%%&gt; : "<SPAN class=result><%%TABLE[][]%%></SPAN>" 

&lt;%%TABLE[-1][-1]%%&gt; : "<SPAN class=result><%%TABLE[-1][-1]%%></SPAN>" 

&lt;%%TABLE[+1][+1]%%&gt; : "<SPAN class=result><%%TABLE[+1][+1]%%></SPAN>" 

</PRE>

<H4>Cursor movement operations (unbounded table)</H4>

<P>
<PRE>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>" 
(from last test)
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>" 
(from last test)
&lt;%rewind %TABLE% %&gt;<%rewind%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"

&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"

&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
</PRE>

<H4>Cursor movement operations (bounded table)</H4>

<P>
<PRE>
&lt;%set %TABLEžC% = "4" %&gt;<%set%TABLEžC% 
= "4" %>
&lt;%set %TABLEžCžC% = "4" %&gt;<%set%TABLEžCžC% 
= "4" %>
 
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>" 
(from last test)
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>" 
(from last test)
&lt;%rewind %TABLE% %&gt;<%rewind%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"

&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
Should wrap around dimensions
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%next %TABLE% %&gt;<%next%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"

&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
&lt;%back %TABLE% %&gt;<%back%TABLE% 
%>
&lt;%%TABLEžI%%&gt; : "<SPAN class=result><%%TABLEžI%%></SPAN>"
&lt;%%TABLEžIžI%%&gt; : "<SPAN class=result><%%TABLEžIžI%%></SPAN>"
</PRE>

<H3>LOL operations (list of lists)</H3>

<H3>Conditional statements</H3>

<H4>One shot instructions</H4>
<P>
<PRE>
&lt;%if (%avar0% eq "true") "single" %endif %&gt; : "<SPAN class=result><%if(%avar0% 
eq "true") "single" %endif %></SPAN>"
&lt;%set %avar0% = "true" %&gt;<%set%avar0% 
= "true" %>
&lt;%if (%avar0% eq "true") "single" %endif %&gt; : "<SPAN class=result><%if(%avar0% 
eq "true") "single" %endif %></SPAN>"
 
&lt;%set %encapsed% = "single with injection" %&gt;<%set%encapsed% 
= "single with injection" %>
&lt;%if (%avar0% eq "true") "&amp;lt;%%encapsed%%&amp;gt;" %endif 
%&gt; : "<SPAN class=result><%if(%avar0% 
eq "true") "&lt;%%encapsed%%&gt;" %endif %></SPAN>"
 
&lt;%if (%avar1% eq "true") "first" %else "second" %endif %&gt; : "<SPAN 
class=result><%if(%avar1% 
eq "true") "first" %else "second" %endif %></SPAN>"
&lt;%set %avar1% = "true" %&gt;<%set%avar1% 
= "true" %>
&lt;%if (%avar1% eq "true") "first" %else "second" %endif %&gt; : "<SPAN 
class=result><%if(%avar1% 
eq "true") "first" %else "second" %endif %></SPAN>"
 
&lt;%set %var_if% = "this is if" %&gt;<%set%var_if% 
= "this is if" %>
&lt;%set %var_else% = "this is else" %&gt;<%set%var_else% 
= "this is else" %>
&lt;%if (%avar2% eq "true") %var_if% %else %var_else% %endif %&gt; : 
"<SPAN class=result><%if(%avar2% 
eq "true") %var_if% %else %var_else% %endif %></SPAN>"
&lt;%set %avar2% = "true" %&gt;<%set%avar2% 
= "true" %>
&lt;%if (%avar2% eq "true") %var_if% %else %var_else% %endif %&gt; : 
"<SPAN class=result><%if(%avar2% 
eq "true") %var_if% %else %var_else% %endif %></SPAN>"
</PRE>

<H4>Multiline instructions</H4>
<P>
<PRE>
&lt;%if (%avar3% eq "true") %&gt;
first multiline
&lt;%else %&gt;
second multiline
&lt;%endif %>&gt; : "<SPAN class=result><%if(%avar3% 
eq "true") %>first multiline<%else%>second 
multiline<%endif%></SPAN>"
&lt;%set %avar3% = "true" %&gt;<%set%avar3% 
= "true" %>
Same expression as above : "<SPAN class=result><%if(%avar3% 
eq "true") %>first multiline<%else%>second 
multiline<%endif%></SPAN>"
</PRE>

<H4>Nested Multiline instructions</H4>
<P>
<PRE>
&lt;%if (%avar4% eq "true") %&gt;
first multiline
&lt;%else %&gt;
   &lt;%if (%avar5% eq "true") %&gt;
   first second multiline
   &lt;%else %&gt;
   second second multiline
   &lt;%endif %&gt;
&lt;%endif %&gt; : "<SPAN class=result><%if(%avar4% 
eq "true") %>first multiline<%else%><%if(%avar5% 
eq "true") %>first second multiline<%else%>second 
second multiline<%endif%><%endif%></SPAN>"
&lt;%set %avar4% = "true" %&gt;<%set%avar4% 
= "true" %>
Same expression as above : "<SPAN class=result><%if(%avar4% 
eq "true") %>first multiline<%else%><%if(%avar5% 
eq "true") %>first second multiline<%else%>second 
second multiline<%endif%><%endif%></SPAN>"
&lt;%set %avar4% = "" %&gt;<%set%avar4% 
= "" %>
&lt;%set %avar5% = "true" %&gt;<%set%avar5% 
= "true" %>
Same expression as above : "<SPAN class=result><%if(%avar4% 
eq "true") %>first multiline<%else%><%if(%avar5% 
eq "true") %>first second multiline<%else%>second 
second multiline<%endif%><%endif%></SPAN>"
</PRE>

<H4>Condition expressions</H4>

<P>
<PRE>
&lt;%set %avar4% = "une variable" %&gt;<%set%avar4% 
= "une variable" %> 
&lt;%if (%avar4% eq "une variable") "passed" %endif %&gt; : "<SPAN 
class=result><%if(%avar4% 
eq "une variable") "passed" %endif %></SPAN>"
&lt;%if (%avar4% =~ /var.*a/) "passed" %endif %&gt; : "<SPAN class=result><%if(%avar4% 
=~ /var.*a/) "passed" %endif %></SPAN>"
&lt;%if (%avar4% !~ /kboutz/) "passed" %endif %&gt; : "<SPAN class=result><%if(%avar4% 
!~ /kboutz/) "passed" %endif %></SPAN>"
&lt;%if (%avar4% =~ /kboutz/) "passed" %endif %&gt; : "<SPAN class=result><%if(%avar4% 
=~ /kboutz/) "passed" %endif %></SPAN>"
&lt;%if (%avar4% =~ /^une/) "passed" %endif %&gt; : "<SPAN class=result><%if(%avar4% 
=~ /^une/) "passed" %endif %></SPAN>"
&lt;%if (%avar4% == "une variable") "passed" %endif %&gt; : "<SPAN 
class=result><%if(%avar4% 
== "une variable") "passed" %endif %></SPAN>"
</PRE>


<H3>Overscripting invokations</H3>

<P><PRE>
&lt;%%newvar%%&gt; : "<SPAN class=result><%%newvar%%></SPAN>"
&lt;%invoke script="overscript.php" %&gt;<%invokescript="overscript.php" 
%>
&lt;%%newvar%%&gt; : "<SPAN class=result><%%newvar%%></SPAN>"
</PRE>

<H3>Time Calculation benching</H3>

<P>Os was : <%%ENV::OS%%><BR>