RTableNumDimensions
query the number of dimensions of an rtable in external code
Calling Sequence
Parameters
Description
Examples
RTableNumDimensions(kv, rt)
kv
-
kernel handle returned by StartMaple
rt
Maple rtable object
This function is part of the OpenMaple interface to Microsoft Visual Basic.
The RTableNumDimensions function returns the number of dimensions of the given rtable, rt. This command is equivalent to calling rtable_num_dims.
Public Sub TestRTableNumDimensions(ByVal kv As Long)
Dim rt As Long
' create 3-D Array
rt = EvalMapleStatement(kv, "Array(1..2,1..3,1..4);")
' writes 3
Write #1, RTableNumDimensions(kv, rt)
End Sub
See Also
OpenMaple
OpenMaple/VB/API
OpenMaple/VB/Examples
rtable
rtable_num_dims
trademark
Download Help Document