[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.1.3 Assign Variable ($A)

The assign variable command directly assigns an integer value to a Cogsys variable.

Name:
Assign Variable
Class:
Control
Code:
$A
Syntax:
$AVv1=value
v1 is a variable reference
value is a number
System:
Cogsys assigns value to the variable specified by v1.

Test Files:
`ASNV_T01.IN'
tests basic operation

Examples:

input
$AV12=10
cogsys
variable V12 is set to 10

input
$AV12=V15
cogsys
variable V12 is set to the value of variable V15



This document was generated by Usman Muzaffar on June, 28 2000 using texi2html