Re: Debugger & Arguments
Posted in 1995
> } Can anyone suggest a way to run a .4gl program throught the Informix > debugger > } if the program is executed with command line arguments? > > when in the debugger type run -c argument1 -d argument2 -e argument3 But with 4.10.UC2 this program (as an example) DATABASE mydb MAIN DEFINE i INT LET i = NUM_ARGS() DISPLAY i END MAIN will, if run within the debugger in given sequence, produce: COMMAND OUTPUT run 0 CORRECT run a b c 3 CORRECT run 3 WRONG If I exit from the debugger and "run" again the I get 0. ---------------------------------------------------- I don't have to do this you know; I could have been a brain surgeon or anything. ---------------------------------------------------- Stuart Hemming | shemminga@cix.compulink.co.uk The Data Base | Tel: + 44 (0) 115 925 0005 Nottingham UK | Fax: + 44 (0) 115 925 0951 ----------------------------------------------------