Search results

  1. F

    Question How To Do Nested Input From Statement

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

    Question How To Define Function With Optional Parameter?

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

    Question How To Get Fill-in Value Through Handle

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