basic: CURRY, TYPEOF, LEN

This commit is contained in:
minjaesong
2020-12-21 14:12:09 +09:00
parent f81d28dfc7
commit e11038254a
4 changed files with 142 additions and 35 deletions

6
assets/currytest.bas Normal file
View File

@@ -0,0 +1,6 @@
10 DEFUN F(K,T)=ABS(T)==K
11 CF=CURRY(F,32)
20 PRINT TYPEOF(F):REM must be usrdefun
21 PRINT TYPEOF(CF):REM also must be usrdefun
30 PRINT CF(24):PRINT CF(-32)
31 REM Expected printout: false true