Subroutine invocation

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  ユーザーマニュアル > Code Generator > SPL (Spy Programming Language) > Subroutines >

Subroutine invocation

Use call to invoke a subroutine, followed by the procedure name and parameters, if any.

 

 Call SimpleSub()

or,

 Call CompleteSub( "FirstParameter", $ParamByValue, $ParamByRef )

 

Function invocation

To invoke a function (any subroutine that contains a return statement), simply use its name inside an expression. Do not use the call statement to call functions.

Example:

 $QName = MakeQualifiedName($namespace, "entry")


(C) 2018 Altova GmbH