Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

CSVAR

Displays the value of a variable, session variable, list item, built-in, or counter.

Syntax

Parameters

NAME (required)
Value of the variable, session variable, list item, built-in or counter to display.

Description

The CSVAR tag displays the value of a variable, session variable, list item, built-in, or counter. For more information about variables, see the CS Developer's Guide.

errno

The value of errno is unchanged.

Example

To display the value of the myvar variable:

The following text appears in the browser:

"I am happy because today is payday!"

Note

If the variable "myvar" was not set at the time of CSVAR, then the browser displays, "Variables.myvar"

To display the value of the session variable tempvar:

The following text appears in the browser,

To display the value of the list item "mylist.tblname":

To display the value of the built-in "CS.Year ":

If the year is 2002, the following text appears in the browser:

To display the value of the counter mycount:

See Also

SETVAR

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.