I always compile with the -D option, ever since IBM said that it does not cause any overhead. Here is what I did:
:AE SLM.BP TEST Top of "TEST" in "SLM.BP", 1 line, 10 characters. 001: PRINT HELP Bottom. *--: Q Quit "TEST" in file "SLM.BP" unchanged. :BASIC SLM.BP TEST -D Compiling Unibasic: SLM.BP/TEST in mode 'p'. Warning: Variable 'HELP' never assigned a value compilation finished :CATALOG SLM.BP TEST DIRECT FORCE :TEST WARNING: UNINITIALIZED VARIABLE USED! Zero Assumed! 0 : >Compile with the -D option to get the line # to show on a warning, > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Steve Mayo >Sent: Monday, May 24, 2004 7:53 AM >To: [EMAIL PROTECTED] >Subject: [U2] UD: My memory fails me.... > >Hi Everyone, > >On my W2k system when an error occurs (like uninitialized variables) >the system gives me the program and line number of the error. > >Ex. In BP\_TEST at line 1 WARNING: UNINITIALIZED VARIABLE USED! Zero >Assumed! > >However on the Unix system, I get: >WARNING: UNINITIALIZED VARIABLE USED! Zero Assumed! > >I need to get the line number and program name and cannot find out how >to do it. I thought it was a UDT.OPTION, but after checking twice..... > >Any help would be appreciated. > >Steve >------- >u2-users mailing list >[EMAIL PROTECTED] >http://www.u2ug.org/listinfo/u2-users >------- >u2-users mailing list >[EMAIL PROTECTED] >http://www.u2ug.org/listinfo/u2-users ------- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users
