Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
13
Task/Empty-string/FutureBasic/empty-string.futurebasic
Normal file
13
Task/Empty-string/FutureBasic/empty-string.futurebasic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
include "ConsoleWindow"
|
||||
|
||||
dim as Str255 s
|
||||
|
||||
s = ""
|
||||
if s == "" then print "String is empty"
|
||||
if s[0] == 0 then print "String is empty"
|
||||
if len(s) == 0 then print "String is empty"
|
||||
|
||||
s = "Hello"
|
||||
if s <> "" then print "String not empty."
|
||||
if s[0] then print "String not empty."
|
||||
if len(s) > 0 then print "String not empty."
|
||||
Loading…
Add table
Add a link
Reference in a new issue