corected the implementation of strcmp and put it in to a separate function

This commit is contained in:
IgorCielniak
2025-12-24 12:41:20 +01:00
parent 770d795872
commit ca43cea785

View File

@@ -1,7 +1,14 @@
import stdlib/stdlib.sl
import stdlib/io.sl
: strcmp
3 pick 2 pick @ swap @ ==
;
: main
"gffl" drop @ "gffl" drop @ ==
"g" "g"
strcmp
puti cr
puts
puts
;