add params
This commit is contained in:
parent
4bbd2d7bff
commit
11a4ef0515
1 changed files with 7 additions and 0 deletions
|
@ -798,6 +798,13 @@ public abstract class BExpressionContext implements IByteArrayUnifier
|
|||
return result;
|
||||
}
|
||||
|
||||
public void setVariableValue(String name, float value, boolean create ) {
|
||||
Integer num = variableNumbers.get( name );
|
||||
if ( num != null )
|
||||
{
|
||||
variableData[num.intValue()] = value;
|
||||
}
|
||||
}
|
||||
|
||||
public float getVariableValue( String name, float defaultValue )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue