Calls the previously defined rule module on the MVSP Server.
Namespace: rocketsoftware.MVSP
Assembly: RocketMVSP (in RocketMVSP.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function MvCall() As Boolean |
C# |
---|
public bool MvCall() |
C++ |
---|
public: bool MvCall() sealed |
J# |
---|
public bool MvCall() |
JScript |
---|
public function MvCall() : bool |
Return Value
False if subroutine validation is enabled and it fails the validation, otherwise True is returned
Remarks
The subroutine has to be FlashCompiled. If common blocks are to be used in the subroutine(s), then these need to be named common.
Validation of the subroutine can be switched on if required (It is turned off by default for performance). This will validate that the subroutine is cataloged, FlashCompiled on D3 and number of parameters being passed match the number of parameters on the subroutine statement. This is controlled through options 4,1,3 on the MVSP.MENU in the MVSP account. Copy Code
Dim mvsp As New rocketsoftware.MVSP.Pick
Dim testsub As rocketsoftware.MVSP.Pick.mvSubroutine
mvsp.Connect("localhost", 9000, "dm", "")
testsub = mvsp.MvSub("TEST", 3)
testsub.setargs(0, "abc")
testsub.setargs(1, "zxf")
testsub.setargs(2, "hello")
testsub.MvCall()
MsgBox(testsub.getargs(0))
MsgBox(testsub.getargs(1))
MsgBox(testsub.getargs(2))