Anonymous user
Empty string: Difference between revisions
→{{header|BASIC}}
m (→{{header|Phix}}: added syntax colouring the hard way, phix/basics) |
|||
Line 409:
20 IF A$="" THEN PRINT "The string is empty."
30 IF A$<>"" THEN PRINT "The string is not empty."</lang>
==={{header|QB64}}===
<lang QB64>a$ = ""
If a$ = "" Then Print "Empty String"
If a$ <> "" Then Print a$ 'String is not empty, so print its contents.</lang>
=={{header|Batch File}}==
|