Home > Contents > Index >  
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.SetVar

Sets a Sites variable.

This method has three variants:

Note: This method can not be use to set a variable to null. Use RemoveVar instead.


ICS.SetVar

Sets the value of a Sites variable.

Syntax

Parameters

name
The name of the variable to create or set.

value
The value of the variable.

Description

The SetVar method sets the value of a Sites variable. If the variable does not exist, it will be created. This method provides functionality similar to the XML SETVAR tag.

Example

The following example creates a variable named weather and set its value to Sunny:

See Also

GetVar , GetVars , RemoveVar


ICS.SetVar

Sets the value of a Sites variable.

Syntax

Parameters

name
The name of the variable to create or set.

value
The value of the variable.

Description

The SetVar method sets the value of a Sites variable. If the variable does not exist, it will be created. This method provides functionality similar to the XML SETVAR tag.

Example

The following example creates a variable named weather and set its value to Sunny:

See Also

GetVar , GetVars , RemoveVar


ICS.SetVar

Sets the value of a Sites variable.

Syntax

Parameters

name
The name of the variable to create or set.

value
The value of the variable.

Description

The SetVar method sets the value of a Sites variable. If the variable does not exist, it will be created. This method provides functionality similar to the XML SETVAR tag.

Example

The following example creates a variable named weather and set its value to Sunny:

See Also

GetVar , GetVars , RemoveVar

 

   Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.