Changeset 2 for NEWT0/trunk/sample

Show
Ignore:
Timestamp:
04/06/05 21:49:58 (4 years ago)
Author:
gnue
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/sample/basicFns.newt

    r1 r2  
    1313 
    1414    if isFrame(obj) or isArray(obj) then 
    15     begin 
    1615        foreach slot,value in obj do obj.(slot) := DeepClone(value); 
    17     end; 
    1816 
    1917    return obj; 
    2018end; 
     19 
     20 
     21global GetFunctionArgCount(fn) 
     22begin 
     23    return fn.numArgs; 
     24end;