Beginner's Programming Tutorial in QBasic

(Kiana) #1

You can also compare two variable strings:
x$ = "Hello"y$ = "World"
IF (x$ <> y$) THEN PRINT x$; " "; y$
Output:
Hello World

Free download pdf