Announcement

Collapse
No announcement yet.

Wrong error code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wrong error code?

    Hi forum

    I have problem with error number. When I run this program:

    '------------------
    #COMPILE EXE
    FUNCTION PBMAIN() AS LONG

    DIM n AS LONG
    DIM e AS LONG

    n = FREEFILE
    OPEN "A:\TEST.TXT" FOR OUTPUT AS #n

    DO
    PRINT #n, "a";
    e = ERRCLEAR
    LOOP UNTIL e

    MSGBOX STR$(e)

    END FUNCTION
    '------------------

    then I get code 75 (not 61 - Disk full). Why?

    Regards

    Cezary Zielinski

  • #2
    It's a bug - one that is to be corrected in the next update to the compiler.

    Thanks for pointing it out anyway!


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment

    Working...
    X