A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/NETLink/ref/net/Wolfram.NETLink.IMathLink.CheckFunction.html below:

IMathLink.CheckFunction Method

Reads a function name and argument count and requires that it match the specified function name.

[Visual Basic]

Function CheckFunction( _

ByVal

f

As

String

_

) As

Integer Parameters
f
The function name that you are expecting.
Return Value

The argument count of the incoming function.

Remarks

If the incoming function is not the specified one, a MathLinkException is thrown.

This method is similar to GetFunction in that it reads the name and argument count off the link. Use it in situations where you want an error to occur if the function is not what you expect.

Exceptions Exception Type Condition MathLinkException If the data waiting on the link is not the named function, or on any other MathLink error. See Also

IMathLink Interface | Wolfram.NETLink Namespace | CheckFunctionWithArgCount | GetFunction


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4