Sunday, January 01, 2006

Hello World

The first thing to do is to install a scheme implementation and run a "hello world" program. So, I downloaded MIT/GNU Scheme and installed it on my Laptop. MIT/GNU Scheme can be downloaded from here.

I ran the following code
(display "Hello World")
This ran fine, but gave an error
;Unspecified return value
This required some additional searching on the net. A quick search on google gave me two different links. The first is from a website that has "Hello World" Programs in a zillion languages and the other is from GNU on how people from different age groups and jobs write a "Hello World" Program.

Both versions print hello world, and in fact the first version is a recursive loop that continuously prints hello world. More importantly, both versions did not give the above error.

No comments: