BCX Console Demonstration Program s27.bas

 DIM s$
 
 s$ = "hello"
 
 IF UCASE$(s$) = "HELLO" THEN
   ? "it worked!"
 END IF
 
 s$ = "GOODBYE"
 
 IF LCASE$(s$) = "hello" THEN
   ? "hello"
 ELSE
   ? "goodbye"
 END IF