Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
5
Task/Empty-string/Ed/empty-string.ed
Normal file
5
Task/Empty-string/Ed/empty-string.ed
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Empty the string (line)
|
||||
s/.*//
|
||||
# Check for emptiness
|
||||
g/.+/s//Not empty/
|
||||
v/Not empty/s//Empty
|
||||
3
Task/Empty-string/Komodo/empty-string.komodo
Normal file
3
Task/Empty-string/Komodo/empty-string.komodo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
let eps := ""
|
||||
assert(eps = "")
|
||||
assert(eps /= "foo")
|
||||
5
Task/Empty-string/PascalABC.NET/empty-string.pas
Normal file
5
Task/Empty-string/PascalABC.NET/empty-string.pas
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Empty string. Nigel Galloway: September 27th., 2024
|
||||
##
|
||||
var emptyString:=System.string.Empty;
|
||||
(emptyString=System.string.Empty).Println;
|
||||
(emptyString<>System.string.Empty).Println;
|
||||
Loading…
Add table
Add a link
Reference in a new issue