Computer Science Canada

Yes No command

Author:  the_scott_mans [ Wed Apr 02, 2003 8:27 am ]
Post subject:  Yes No command

Sorry i thought that i found this question on this site and can't seem to find it anymore. How do you use the yes no command thing like

EX.

Done[y/n]

and it has somthing to do with getch

Author:  Tony [ Wed Apr 02, 2003 9:13 am ]
Post subject: 

code:

var c:string(1)

put "done? y/n"
getch(c)

if c=y then
put "you picked yes"
else
put "you picked no"
end if


: