protected override Variable Evaluate(ParsingScript script) { string filename = Utils.GetStringOrVarValue(script); string lines = Utils.GetLinesFromList(script); Utils.AppendFileText(filename, lines); return(Variable.EmptyInstance); }
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); }