Table of Contents

Class Call

Namespace
BOOSE
Assembly
BOOSE.dll

Command to call a previously defined method. method int testMethod\n int one, int two\n testMethod = one* two\nend method\nint global = 55\ncall testMethod 10 15

public sealed class Call : CompoundCommand, ICommand
Inheritance
Call
Implements
Inherited Members

Fields

methodName

protected string methodName

Field Value

string

Methods

Compile()

Override base.compile() because a variable always has variable = expression and this is just expression.

public override void Compile()

Exceptions

VarException

Execute()

Called when program is executed. Determines if condition is true or false. If false then jumps to corrensponding "end" command.

public override void Execute()

Exceptions

CommandException