hi friends ...
how can i use nested INPUT FROM statement without effecting first INPUT FROM statement.
for example see code below:
INPUT FROM VALUE("one.txt").
DO WHILE TRUE ON ENDKEY UNDO, LEAVE ON ERROR UNDO, LEAVE:
IMPORT UNFORMATTED vRecord.
MESSAGE vRecord.
PAUSE...
thanks Carlo, but I need to get the real value not screen-value of variable vInt through handle h.
i think there is a way to access those real value, maybe using pointer or something else ???
thanks for your reply Osborne,
but that is not what I want, the point is I want to access SCREEN-VALUE or INPUT-VALUE using HANDLE also want to access the REAL VALUE of a variable using HANDLE.
hope that you understand.
thanks for your help Molly,
but I am not using CLASS.
is it possible to define function with optional parameter without using CLASS?
or is it possible to create STATIC CLASS like in CPP so we can directly use the METHOD of that CLASS?
could anyone give example on how to define function with optional parameter?
for example TRIM function has optional parameter as below syntax
TRIM ( expression [ , trim-chars ] )
MESSAGE TRIM(" abc ").
MESSAGE TRIM("abca", "a").
above code will result in (without quotes)
"abc"
"bc"
thanks.
DEFINE VARIABLE vInt AS INTEGER FORMAT "9,999".
vInt = 1234.
DISPLAY vInt WITH FRAME f.
vInt = 5678.
DEFINE VARIABLE h AS HANDLE.
h = vInt:HANDLE.
MESSAGE vInt:INPUT-VALUE vInt.
MESSAGE h:INPUT-VALUE.
Above code will display on message area as below :
1234 5678
1234
My question is how to get...
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.