C# Class kOS.Safe.Compilation.OpcodeExists

Tests if the identifier atop the stack is an identifier that exists in the system and is accessible in scope at the moment. If the identifier doesn't exist, or if it does but it's out of scope right now, then it results in a FALSE, else it results in a TRUE. The result is pushed onto the stack for reading. Note that the ident atop the stack must be formatted like a variable name (i.e. have the leading '$').
Inheritance: Opcode
Mostrar archivo Open project: KSP-KOS/KOS

Public Methods

Method Description
Execute ( ICpu cpu ) : void

Method Details

Execute() public method

public Execute ( ICpu cpu ) : void
cpu ICpu
return void