Bungee Logic : Site : Var

Page Status: Beta

Back to Sites

Contents

[edit] Purpose

Sets or returns data for variables defined within the local scope within Bungee Logic.

[edit] How to Use

Consider the following code snippet:
public function foo([in] int32 x)
{
     var double y = 3.1415926;
     var double x;
     x = y;
}
There are two variables defined within the scope of function foo: y (which is initialized to 3.1415926) and x.
For the assignment, both the source and target (left and right sides) are var sites.
It is important to note that the variable x in the assignment is not the same as parameter x.

    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.