Re: Hockey.ex
>but the yes/no
>input
>doesn't yet work. Any ideas?
>halt = '1'
>
>while halt = '1' do
>
> halt = input ("\t Do another? 1 = yes 2 = no ")
>
>end while
Make halt a sequence not an atom AND
sequence halt
--atom halt
Use double quotes "1" not single quotes '1'.
Problem should be solved.
OR if you are Truly returning numbers AND NOT
ascii value of numbers such as Ascii for 1 is 49
then leave as an atom and use 1 not '1'
MEANING remove the single quotes.
--Lucius Lamar Hilley III
-- E-mail at luciuslhilleyiii at juno.com
-- I can only support file transfers of less than 64K and in UUE format.
|
Not Categorized, Please Help
|
|