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...
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.