RTableNumDimensions - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : OpenMaple : VB Application Programming Interface : RTable Manipulation : OpenMaple/VB/RTableNumDimensions

RTableNumDimensions

query the number of dimensions of an rtable in external code

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RTableNumDimensions(kv, rt)

Parameters

kv

-

kernel handle returned by StartMaple

rt

-

Maple rtable object

Description

• 

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.

Examples

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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam