Пример #1
0
        public String[] GetOutput(LMD_BLOCKS.BlockOutput b)
        {
            String[] result = null;
            switch (PresentLanguage)
            {
            case LANGUAGE.C_SHARP: result = C_Sharp.OUTPUT(b); break;

            case LANGUAGE.C_PLUS_PLUS: result = C_PlusPlus.OUTPUT(b); break;

            case LANGUAGE.JAVA: result = Java.OUTPUT(b); break;

            case LANGUAGE.PASCALABC: result = PascalABC.OUTPUT(b); break;
            }

            return(result);
        }
Пример #2
0
        public String[] GetCondition(LMD_BLOCKS.BlockCondition b)
        {
            String[] result = null;
            switch (PresentLanguage)
            {
            case LANGUAGE.C_SHARP: result = C_Sharp.CONDITION(b); break;

            case LANGUAGE.C_PLUS_PLUS: result = C_PlusPlus.CONDITION(b); break;

            case LANGUAGE.JAVA: result = Java.CONDITION(b); break;

            case LANGUAGE.PASCALABC: result = PascalABC.CONDITION(b); break;
            }

            return(result);
        }
Пример #3
0
        public String[] GetCalculate(LMD_BLOCKS.BlockCalculate b)
        {
            String[] result = null;
            switch (PresentLanguage)
            {
            case LANGUAGE.C_SHARP: result = C_Sharp.CALCULATE(b); break;

            case LANGUAGE.C_PLUS_PLUS: result = C_PlusPlus.CALCULATE(b); break;

            case LANGUAGE.JAVA: result = Java.CALCULATE(b); break;

            case LANGUAGE.PASCALABC: result = PascalABC.CALCULATE(b); break;
            }

            return(result);
        }
Пример #4
0
        public String[] GetBegin()
        {
            String[] result = null;
            switch (PresentLanguage)
            {
            case LANGUAGE.C_SHARP:
                result = C_Sharp.BEGIN();
                break;

            case LANGUAGE.C_PLUS_PLUS:
                result = C_PlusPlus.BEGIN();
                break;

            case LANGUAGE.PASCALABC:
                result = PascalABC.BEGIN();
                break;

            case LANGUAGE.JAVA:
                result = Java.BEGIN();
                break;
            }

            return(result);
        }