Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

"first"

Name: Anonymous 2011-08-22 1:04

fun "first" language to learn.

I say first because I took C++ in highschool and enjoyed it, and I wanted to try common lisp but I'm not certain if its supposed to be a joke or not.

any help would be nice.

Name: Anonymous 2011-08-24 2:20

Jesus i didn't think this thread would go on...

Oh well.

Got a quick question. so I've been using racket on my computer and to practice I have scheme on my cell which I'm just writing trivial stuff in to help me remember it. So this is just a simple thing I wanted to know.

The chapters in the online guide I've been reading so far is telling me about different codes but doesn't go into alot of detail. so I will use this as a example.

(define a 15)
(define b 20)
(define c (if (< a 10) a (if (> a 12) (* a b) 0))

What is the 0 for at the end? I want to assume its the same idea as return 0; for c++ which pretty much just says "hey I'm done"

or is there another reason?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List