Empty string: Difference between revisions
Add SmallBASIC
Langurmonkey (talk | contribs) (removed langur language example for now) |
(Add SmallBASIC) |
||
Line 596:
u$ = "not empty"
IsEmpty (u$)</syntaxhighlight>
==={{header|SmallBASIC}}===
empty(s) returns true if s is empty.
<syntaxhighlight lang="qbasic">
s1 = ""
s2 = "abc"
print empty(s1)
print empty(s2)
</syntaxhighlight>
==={{header|True BASIC}}===
|