PrecedenceMethod

Applies to:uCalc Transform
Class:uCalc
Returns the precedence level of an operator or the level between two operators
Syntax
Precedence(Operator1, Opt Operator2)
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="Precedence_Overload_uCalc")> _

Private Function Precedence_Overload_uCalc__(ByVal uCalcHandle As IntPtr,ByVal Operator1 As String,  ByVal Operator2 As String ) As  Int32
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="Precedence_Overload_uCalc")]

protected static extern  Int32 Precedence_Overload_uCalc_(IntPtr uCalcHandle, string Operator1,   string Operator2 );
            
{DLLImport}function Precedence_Overload_uCalc__(uCalcHandle: System.Pointer;Operator1: AnsiString;  Operator2: AnsiString):  Int32; cdecl; external uCalcDLL name 'Precedence_Overload_uCalc';

            
typedef  int32_t (* __Precedence_Overload_uCalc)(void *uCalcHandle, CONSTCHAR Operator1 ,   CONSTCHAR Operator2  ); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "Precedence_Overload_uCalc")]

static Int32 Precedence_Overload_uCalc_(void *  uCalcHandle, MARSHALSTR Operator1 ,   MARSHALSTR Operator2);
            
Prev | Next