[clean-list] My very first program crashes!
Frantisek Fuka
fuxoft@terminal.cz
Mon, 28 May 2001 11:12:23 +0200
I Downloaded latest CLEAN for Windows 98 and I managed to compile and
run many of the included examples, including thecomplex ones (hanoi,
scrabble). Then I tried my first program:
--------------------------
module test1
import StdEnv
pow x n
|n==1 = x
|otherwise = pow x n-1
Start = pow 3 2
--------------------------
It compiles without errors, launches the DOS console and immediately
crashes (STACK FAULT). I even tried restarting my computer, erasing
everything in "Clean System Files", compiling again, but it still
crashes...