I have found a behaviour wich drove me crazy.
#COMPILE EXE
FUNCTION PBMAIN() AS LONG
DIM x AS INTEGER
DIM y AS INTEGER
x = 0
y = x / 0 'this works
MSGBOX STR$(y)
y = x \ 0 'this causes a GPF
MSGBOX STR$(y)
END FUNCTION
is there any compiler switch or assembler code witch turns
of the checking for div by zero?
------------------
#COMPILE EXE
FUNCTION PBMAIN() AS LONG
DIM x AS INTEGER
DIM y AS INTEGER
x = 0
y = x / 0 'this works
MSGBOX STR$(y)
y = x \ 0 'this causes a GPF
MSGBOX STR$(y)
END FUNCTION
is there any compiler switch or assembler code witch turns
of the checking for div by zero?
------------------
Comment