Scheme Compile Errors

Status
Not open for further replies.

Mindverse

Smack-Fu Master, in training
93
For some reason whenever I compile my scheme apps when I try to open them they give me errors. For example if this was my program's source:

(define (improve guess x)
(average guess (/ x guess)))

(define (average x y)
(/ (+ x y) 2))

(define coo (improve 100 100))
(display coo)

when I would open it I would receive error messages. Even if this was my program I would get errors:

(define two 2)

Two questions:
1.) So, what is the problem? When I compile either of these I can't open them without errors.


2.) How come when I compile things written in scheme they are .COM files. What's the difference between .EXE and .COM?
(I'm Scheme newbie) :)

[This message was edited by Mindverse on January 21, 2002 at 17:46.]

[This message was edited by Mindverse on January 21, 2002 at 18:01.]
 
Status
Not open for further replies.