示例#1
0
        protected override Variable Evaluate(ParsingScript script)
        {
            string filename = Utils.GetItem(script).AsString();

            byte[] bytes = Utils.GetFileBytes(filename);

            List <Variable> results = Utils.ConvertToResults(bytes);

            Interpreter.Instance.AppendOutput("Read " + bytes.Length + " byte(s).", true);

            return(new Variable(results));
        }