Computer Science Canada

make a section of a program run when a variable = 10

Author:  bubbles3 [ Mon May 09, 2005 11:54 am ]
Post subject:  make a section of a program run when a variable = 10

is it possible to make a section of a program run when a variable = 10 specific variable =10? if so how?

Author:  jamonathin [ Mon May 09, 2005 11:59 am ]
Post subject: 

Can you elaborate one that, cuz this is all I have for that.
Turing:
put "Enter A Value"
var num : int
get num
if num = 10 then
    loop
        put "." ..
        exit when hasch
    end loop
end if


: