Table of Contents

Class Real

Namespace
BOOSE
Assembly
BOOSE.dll

Class for a Real Number Variable.

public sealed class Real : Evaluation, ICommand
Inheritance
Real
Implements
Inherited Members

Constructors

Real()

Contructor

public Real()

Properties

Value

Get double value for a real number.

public double Value { get; set; }

Property Value

double

Methods

Compile()

If this is a variable declartation set its value and add it to the variable table. If it is an expression then nothis happens as it already exists in the variable table.

public override void Compile()

Execute()

Base calculates a string evaluated expression. Now see if it's a double/real value.

public override void Execute()

Exceptions

StoredProgramException