Win XP - PB 4.30 x86
Ich weiß ganicht wie ich's in Worte fassen soll. Am besten ist wohl ein kommentierter Quell-Code:
Code: Alles auswählen
Procedure abc(quady.q)
Repeat
Select quady ; <- This is causing the crash! Using e.g. a long will
; work fine. I originally used a "FileSize" here, so it
; doesn't depend on the usage of a parameter.
Case 0
Debug "case 0 -> no error" ; (no break = no error)
Case 1
Debug "case 1 -> ERROR!"
Break
Default
Debug "case 2 -> ERROR!"
Break
EndSelect
Break
ForEver
EndProcedure ; <- here is where the "Invalid memory
; access. (write at address 0)" appears
abc(0)
abc(1)
abc(2)Kann den jemand reproduzieren?