Announcement

Collapse
No announcement yet.

Wrong error code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    Lance Edmonds
    Member

  • Lance Edmonds
    replied
    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>

    Leave a comment:

  • Cezary Zielinski
    Member

  • Cezary Zielinski
    started a topic Wrong error code?

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