“angled brackets” and “hashbang” methods

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keliko
Posts: 85
Joined: Thu Aug 01, 2019 8:15 am

“angled brackets” and “hashbang” methods

Post by keliko » Tue Mar 16, 2021 5:14 am

Hello,
I'm learning how to use a livecode server and I found {{}} the revigniter code but no explanation in the directory
Can you explain how to use {{tLocal}}

Thank you all for explaining
Attachments
welcomeMessage.lc — revIgniter2.1.8 2021-03-16 11-01-30.png

rabit
Posts: 40
Joined: Wed May 31, 2006 8:30 am

Re: “angled brackets” and “hashbang” methods

Post by rabit » Tue Mar 16, 2021 11:50 am

Regarding the square brackets: All data in the
global array variable gData is merged with the view
using double square brackets in the view file.
Please read the section
“Adding Dynamic Data to the View” in
chapter “Views” of the user guide.

The double curly brackets notation is used so
that benchmarking even works with cached pages
(total execution time only in this case). Please
read the section “Displaying Total Execution Time”
in chapter “Benchmarking Library” of the user guide.

Of course all this applies to revIgniter only.
-- Ralf Bitter

Post Reply

Return to “CGIs and the Server”