BCX Console Demonstration Program s47.bas

 DIM A$
 
 A$ = COMMAND$
 
 IF A$ = "" THEN
   PRINT "You did not type anything on the command line."
   END     ' <<< --  Introducing the END statement! 
 END IF
 
 A$ = "You typed " & COMMAND$ & " on the command line."
 
 PRINT A$