Re-2: Jan Schenkel's merge tutorials + templates

runrev at animabit.de runrev at animabit.de
Mon Nov 24 04:21:52 EST 2008


Hello,

I am very impressed by the merge articles. Thanks Jan. Never heard of "merge" at all - very helpful!.

Because of not knowing that feature I used my own template methods learned in Perl and PHP. But perhaps in some cases these can perfectly cooperate with merge (therefore I add it here):

put the rtftemplate of this card into rtfexport
replace "$message" with mymessage in rtfexport
replace "$someothervariable" with myvariable in rtfexport

put the looptemplate of this card into looptemplate
repeat ...
put newline after looptemplate
end repeat

replace "$myloop1" with looptemplate in rtfexport

put rtfexport into URL "..."

Instead of manipulation the rtftext source of such documents I could design it with the [[x]] merge technique more comfortable AND FLEXIBLE. 
Thanks

Regards, Franz



More information about the use-livecode mailing list