Consultor Eletrônico



Kbase P98745: How to use Expression escapes with WebSpeed?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/12/2004
Status: Unverified

GOAL:

How to use Expression escapes with WebSpeed?

FIX:

Expression escapes
Expression escapes are used output the value of variables and field values dynamically within HTML using the back tick (`). Expression escapes switch from static HTML to output of a variable or field value.

This is an example of using expression escapes to output information.

<CENTER><B>Sample SpeedScript File</B></CENTER><BR>
The first customer in the database is <b>` vcCustName `</b>.<br>
Todays Date is <b>` vcToday `.</b><br>

Any HTML contained in the HTML document and not included inside a SpeedScript tag or expression escape processes as it would if the page were a not SpeedScript web object. If an HTML file including SpeedScript runs without being compiled and processed by the WebSpeed agent, the SpeedScript code inside a Script tag is not processed, resulting in the SpeedScript code outputting to the page.