menu. Iterating through all table rows


menu executes code for each of the table rows, iterating through all table rows one by one-in the given order.

is string or code to be implemented before every non-empty body, except the first. The separator code given in square brackets is processed only once, while that in the curly brackets is processed every time it is inserted.

You can force finish the loop using
break operator or finish current step and go to next one using continue operator. [3.2.2]

$goods[^table::create{pos   good      price
1   Monitor display   1000
System control unit   1500
Keyboard   15
<table border=1>

The example outputs the entire content of table
$goods as HTML-coded table.

Copyright © 1997–2017 Art. Lebedev Studio | Last updated: 22.10.2013