m3tools/src/M3Builtin.i3


 Copyright 1996-2000 Critical Mass, Inc. All rights reserved.    
 See file COPYRIGHT-CMASS for details. 

INTERFACE M3Builtin;

IMPORT M3Const;

PROCEDURE Eval (p: Proc;  READONLY args: ARRAY OF M3Const.T;
                VAR(*OUT*) val: M3Const.T)  RAISES {M3Const.Error};
If possible, evaluate p (args...)

TYPE
  Proc = {
    Abs, Adr, AdrSize, BitSize, ByteSize, Ceiling, Dec, Dispose,
    First, Float, Floor, Inc, IsType, Last, Loophole, Max, Min,
    Narrow, New, Number, Ord, Round, Subarray, Trunc, Typecode, Val,
    WordPlus, WordTimes, WordMinus, WordDivide, WordMod, WordLT,
    WordLE, WordGT, WordGE, WordAnd, WordOr, WordXor, WordNot,
    WordShift, WordLeftShift, WordRightShift, WordRotate,
    WordLeftRotate, WordRightRotate, WordExtract, WordInsert
  };

END M3Builtin.