I've asked for a new feature to allow me to specify a variable into which ResultsHTML are accumulated. Some useful place for this feature:
* assembling resultsHTML within methods,
* deferring the assembly of HTML <head> until after the action results

Such a feature does not exist, to my knowledge, so I'm looking for suggestions about how best to implement the common perl/php .= operation. Ex:

$myresults = "";
$myresults .= "add some text\n";
$myresults .= "and a second line";

yielding

add some text
and a second line

It looks like the equivalent is

<@ASSIGN NAME="myresults" VALUE="">
<@ASSIGN NAME="myresults" VALUE="<@VAR NAME='myresults'>add some text\n"> <@ASSIGN NAME="myresults" VALUE="<@VAR NAME='myresult's>and a second line">

Are there any shortcuts?

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to