
-----------------------------------
JayLo
Thu May 15, 2003 7:38 pm

I NEED HELP... joking... what's compile time expression?
-----------------------------------
compile time expression?
what is it?
i'm getting that error in this situation.

proc currentQuestion (province, capital : string, count : int)
    put province, "?"
    for i : 1 .. 3
        put "Guess ", i, " " ..
        get answer
        case answer of
            label rightAnswer (count) :
                exit
            label :
                put "no"
        end case
    end for
end currentQuestion


-----------------------------------
Catalyst
Thu May 15, 2003 7:50 pm


-----------------------------------
something that is defined before the program runs   i.e. not a var(technically defined when compiling begins)
is compile time

-----------------------------------
Dan
Thu May 15, 2003 8:54 pm


-----------------------------------
it whould seems that you can not use varibles in case staments  :?

you should probley just uses an if  :?

-----------------------------------
JayLo
Fri May 16, 2003 3:23 pm


-----------------------------------
lol, the teacher wants a case construct  :?
