Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# Demonstrate how to assign an empty string to a variable.
|
||||
text sampleA = Text.EMPTY
|
||||
text sampleB = "hello world"
|
||||
text sampleC = ""
|
||||
List samples = text[sampleA, sampleB, sampleC]
|
||||
text sampleA ← Text.EMPTY
|
||||
text sampleB ← "hello world"
|
||||
text sampleC ← ""
|
||||
List samples ← text[sampleA, sampleB, sampleC]
|
||||
for each text sample in samples
|
||||
# Demonstrate how to check that a string is empty.
|
||||
writeLine("Is '" + sample + "' empty? " + when(sample.isEmpty(), "Yes", "No") + ".")
|
||||
writeLine("Is '", sample, "' empty? ", when(sample.isEmpty(), "Yes", "No"), ".")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue