AjTalk.Language.Block.CompileByteCode C# (CSharp) Method

CompileByteCode() public method

public CompileByteCode ( ByteCode b ) : void
b ByteCode
return void
        public void CompileByteCode(ByteCode b)
        {
            this.CompileByte((byte)b);
        }

Same methods

Block::CompileByteCode ( ByteCode b, byte arg ) : void
Block::CompileByteCode ( ByteCode b, byte arg1, byte arg2 ) : void

Usage Example

Example #1
0
        public void CompileAndExecuteGetDotNetType()
        {
            Block block;

            block = new Block();
            block.CompileGetDotNetType("System.IO.FileInfo");
            block.CompileByteCode(ByteCode.ReturnPop);

            object obj = block.Execute(null, null);

            Assert.IsNotNull(obj);
            Assert.IsInstanceOfType(obj, typeof(System.Type));
        }
All Usage Examples Of AjTalk.Language.Block::CompileByteCode