Logiweb(TM)

Logiweb aspects of num2 ( " , " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of num2 ( asterisk , asterisk , asterisk ) as "num2 ( "! , "! , "! )" end define

The "value" aspect

define value of num2 ( r , t , u ) as norm { r is val : { t is val : { u is val : LET { quote x end quote :: u } :: true BE { s IN if t r= quote 0 end quote then substitute ( r , quote x %0 end quote , s ) else if t r= quote 1 end quote then substitute ( r , quote x %1 end quote , s ) else if t r= quote 2 end quote then substitute ( r , quote x %2 end quote , s ) else if t r= quote 3 end quote then substitute ( r , quote x %3 end quote , s ) else if t r= quote 4 end quote then substitute ( r , quote x %4 end quote , s ) else if t r= quote 5 end quote then substitute ( r , quote x %5 end quote , s ) else if t r= quote 6 end quote then substitute ( r , quote x %6 end quote , s ) else if t r= quote 7 end quote then substitute ( r , quote x %7 end quote , s ) else if t r= quote 8 end quote then substitute ( r , quote x %8 end quote , s ) else if t r= quote 9 end quote then substitute ( r , quote x %9 end quote , s ) else substitute ( r , quote exception end quote , true ) } } } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:10:57.067491 = MJD-54293.TAI:20:11:30.067491 = LGT-4690987890067491e-6