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

            Utils.AppendFileText(filename, lines);

            return(Variable.EmptyInstance);
        }
示例#2
0
        protected override Variable Evaluate(ParsingScript script)
        {
            //string filename = Utils.ResultToString(Utils.GetItem(script));
            string filename = Utils.GetStringOrVarValue(script);
            string lines    = Utils.GetLinesFromList(script);

            Utils.WriteFileText(filename, lines);

            return(Variable.EmptyInstance);
        }