franciscoufa
Member
Hello everyone!
I have made a cicode function of this form:
STRING
FUNCTION
NumeroModo(INT MxP_MODO)
SELECT CASE MxP_MODO
CASE MxP_MODO=1
MxP_NUMEROMODO="AUTOMATICO1";
CASE MxP_MODO=2
MxP_NUMEROMODO="AUTOMATICO2";
END SELECT
RETURN MxP_NUMEROMODO;
END
I added an objet that it must shows MxP_NUMEROMODO, but when I put MxP_MODO in 2, it must shows the same that the first case: AUTOMATICO1. The compilation doesn't give any error.
Are there anything wrong in the function?
Regards!
I have made a cicode function of this form:
STRING
FUNCTION
NumeroModo(INT MxP_MODO)
SELECT CASE MxP_MODO
CASE MxP_MODO=1
MxP_NUMEROMODO="AUTOMATICO1";
CASE MxP_MODO=2
MxP_NUMEROMODO="AUTOMATICO2";
END SELECT
RETURN MxP_NUMEROMODO;
END
I added an objet that it must shows MxP_NUMEROMODO, but when I put MxP_MODO in 2, it must shows the same that the first case: AUTOMATICO1. The compilation doesn't give any error.
Are there anything wrong in the function?
Regards!