mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
add comparisons
This commit is contained in:
16
src/term-class.go
Normal file
16
src/term-class.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func ArgonLog(args ...any) (any, ArErr) {
|
||||
output := []any{}
|
||||
for i := 0; i < len(args); i++ {
|
||||
output = append(output, anyToArgon(args[i], false, true, 3, 0))
|
||||
}
|
||||
fmt.Println(output...)
|
||||
return nil, ArErr{}
|
||||
}
|
||||
|
||||
var ArTerm = ArMap{
|
||||
"log": builtinFunc{"log", ArgonLog},
|
||||
}
|
||||
Reference in New Issue
Block a user