Although the html isn't very long (about 20-30 lines), I can't see
any other way to do it other than in big blocks of 'Write' commands.
i.e.
write(line 1 html)
write(line 2 html)
write(line 3 html)
write(line 4 html)
. . . etc
Just wondering if there is a way in Active 4D to declare the start
and finish of a block rather than having to use multiple 'writes'.
Use heredoc strings, especially interpolated heredoc strings. They are
very nicely documented in the manual.
write('''
This is line one, embedded field: [mytable]myfield<br />
This is another line, embedded variable: $myvar<br />
Yet another line, embedded expression: `current date(*)`
''')
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/