Python Script Engine
7.1
GL Studio Editor Python Script API
|
Public Member Functions | |
Variable (String name, String type, String initVal, String comment=String()) | |
String | GetName () |
void | SetName (String name) |
String | GetType () |
void | SetType (String type) |
String | GetInitialValue () |
void | SetInitialValue (String initVal) |
String | GetComment () |
void | SetComment (String comment) |
common editor interface variable
Variable::Variable | ( | String | name, |
String | type, | ||
String | initVal, | ||
String | comment = String() |
||
) |
Creates a variable with the given information set.
name | Name of new variable |
type | Return type of new variable |
initVal | Initial value for the new variable |
comment | String comment regarding the new variable |
comment
parameter new in GL Studio 6.0.1 String Variable::GetComment | ( | ) |
Retrieves the comment associated with the variable.
String Variable::GetInitialValue | ( | ) |
Retrieves the variable's initial value.
String Variable::GetName | ( | ) |
Retrieves the variable's name.
String Variable::GetType | ( | ) |
Retrieves the variable's return type.
void Variable::SetComment | ( | String | comment | ) |
Sets the comment associated with the variable.
comment | String containing the comment for the variable |
void Variable::SetInitialValue | ( | String | initVal | ) |
Sets the variable's initial value.
initVal | New initial value for the variable |
void Variable::SetName | ( | String | name | ) |
Sets the variable's name.
name | New name of variable |
void Variable::SetType | ( | String | type | ) |
Sets the variable's return type.
type | New return type for the variable |