![](../icons/Help.png) | CDUMath Method |
Apply an expression to the database
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The MATH_DU method will READWRITE lock channels on the left
side of expressions and READONLY lock channels on the right
side of expressions. Channels are unlocked before returning.
Therefore, channels on the left side of an expression cannot
be locked READONLY because the Math_DU attempt to lock the
channel READWRITE will fail. Similarly, channels on the right
side of an expression cannot be locked READWRITE because
Math_DU's attempt to lock the channels READONLY will fail.
If this is confusing, just make sure no channels used in the
expression are locked before calling Math_DU.
Syntaxpublic static void Math(
CGXNETCore gxNetShared,
CDB db,
int line,
CEXP exp
)
Public Shared Sub Math (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
exp As CEXP
)
public:
static void Math(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
CEXP^ exp
)
static member Math :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
exp : CEXP -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database - line
- Type: SystemInt32
Line handle - exp
- Type: Geosoft.Desktop.GXNetXCEXP
Math expression object (EXP)
See Also