AjTalk.Loader.GetBlockText C# (CSharp) Method

GetBlockText() public method

public GetBlockText ( ) : string
return string
        public string GetBlockText()
        {
            return this.reader.GetChunk();
        }

Usage Example

Ejemplo n.º 1
0
        public void ProcessDoubleBang()
        {
            Loader loader = new Loader(new StringReader("!!new! !!new"), new VmCompiler());

            Assert.AreEqual("!new", loader.GetBlockText());
            Assert.AreEqual(" !new", loader.GetBlockText());
            Assert.IsNull(loader.GetBlockText());
        }
All Usage Examples Of AjTalk.Loader::GetBlockText