This commit is contained in:
Daniella / Tove 2022-04-26 23:45:50 +02:00
parent a1ee060287
commit e0a80b4e2d

View file

@ -109,6 +109,13 @@ def TYPE_JIO "jio" mktype =TYPE_JIO
} TYPE_JIO defmethod } TYPE_JIO defmethod
def JIO 0 TYPE_JIO settype =JIO def JIO 0 TYPE_JIO settype =JIO
"foreach" {
def this =this
def lambda =lambda
def i 0 =i
while { i this alen lt } { lambda fcall i ++ =i }
} TYPE_ARRAY defmethod
func _string { func _string {
def object =object def object =object