Esempio n. 1
0
        private static bool insertReturnValueIntoFuncCall(FunctionCall theFuncCall, int lineNumber, Variable returnVar)
        {
            if (theFuncCall.returnCalculations == null)
            {
                return(false);
            }

            foreach (Logic[] l in theFuncCall.returnCalculations)
            {
                if (searchInLogicOrder(l, lineNumber, returnVar))
                {
                    return(true);
                }
            }

            return(false);
        }
Esempio n. 2
0
 private static bool insertReturnValueIntoPackage(Package thePackage, int lineNumber, Variable returnVar)
 {
     Logic[] tempOrder = thePackage.getLatestOrder();
     return(searchInLogicOrder(tempOrder, lineNumber, returnVar));
 }