private static bool IsUsingOnlyInFunctionsWithoutResult(Variable variable) { int start = 0; if (variable.IsParameter) { start = 1; } for (int i = start; i < variable.Lines.Count; i++) { Word[] words = Data.Code[variable.Lines[i]]; // if (Word.ContainsAny(words, GetFunctionsNames(Functions), out int index) || Word.ContainsAny(words, GetFunctionsNames(SystemFunctions), out index)) { Word functionName = words[index]; Function function = GetFunctionByName(functionName); if (function.IsResult) { return(false); } } } return(true); }