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
17
Task/Empty-string/FreeBASIC/empty-string.freebasic
Normal file
17
Task/Empty-string/FreeBASIC/empty-string.freebasic
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Sub IsEmpty(s As String)
|
||||
If Len(s) = 0 Then
|
||||
Print "String is empty"
|
||||
Else
|
||||
Print "String is not empty"
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Dim s As String ' implicitly assigned an empty string
|
||||
IsEmpty(s)
|
||||
Dim t As String = "" ' explicitly assigned an empty string
|
||||
IsEmpty(t)
|
||||
Dim u As String = "not empty"
|
||||
IsEmpty(u)
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue