Empty string: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added syntax colouring the hard way, phix/basics) |
|||
Line 409: | Line 409: | ||
20 IF A$="" THEN PRINT "The string is empty." |
20 IF A$="" THEN PRINT "The string is empty." |
||
30 IF A$<>"" THEN PRINT "The string is not empty."</lang> |
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}}== |
=={{header|Batch File}}== |