DEFINE VARIABLE {1} AS CHARACTER NO-UNDO.
ASSIGN {1} = 'ttt'.
MESSAGE {1}
VIEW-AS ALERT-BOX INFO BUTTONS OK.
this cod will not work in
PROGRESS Procedure Editor
Version 9.1D09 │...
Like dynamic function is there any method to create variable whose name is value of another variable.
eg. I have to do like this..
is it possible ?
define variable m_var as character init "new_var".
define variable string(m_var) as integer.
Hi,
I try to pass an whole array to a function but it wont work, how to pass an whole array to the function?
FUNCTION fun_name RETURNS LOGICAL (INPUT m_var AS CHARACTER EXTENT 10 ):
IF m_var[5] = "hi" THEN
RETURN YES.
RETURN NO.
END.
DEFINE VARIABLE m AS CHARACTER EXTENT 10 INIT...
HELP ME
i like to validat date field...
for that i declare it as character and validating it
i found this type of error.
for '12/712/00' input it working
DEFINE VARIABLE d AS DATE FORMAT "99/99/9999" NO-UNDO.
ASSIGN d = DATE('12/712/00') no-error .
IF ERROR-STATUS:ERROR...
how to handle run time errors, and display user defined message
for example i want to validate a date value, i declare it as character and validate.
DEFINE VARIABLE m_date AS CHARACTER INIT '10/r3/00' NO-UNDO.
DISP DATE(m_date).
**invalid date input.(85)
" how to handle these type...
hw do i add fields to a temp table after it has been defined with some fields .
I am working in PROGRESS Procedure Editor Version 9.1D09 POSSE Version 2.0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.