Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,5 @@
(let s "")
(if (empty? s)
(print "empty"))
(if (not (empty? s))
(print "not empty"))

View file

@ -0,0 +1 @@
select '' as empty, length(empty), empty = '', empty != '';

View file

@ -5,8 +5,8 @@ public program()
auto s := emptyString;
if (s.isEmpty())
{ console.printLine("'", s, "' is empty") };
{ Console.printLine("'", s, "' is empty") };
if (s.isNonempty())
{ console.printLine("'", s, "' is not empty") }
{ Console.printLine("'", s, "' is not empty") }
}

View file

@ -0,0 +1,6 @@
# set the workspace buffer to ""
clear;
# print a message and exit if the workspace is not empty
!"" { clear; add "workspace not empty"; print; quit; }
# print a message and exit if the workspace is empty
"" { add "workspace empty"; print; quit; }

View file

@ -0,0 +1,5 @@
s =: ''
? s.Count = 0
print "String s is empty."
? s.Count ~= 0
print "String s is not empty."