Calling Your Function

Once the library is loaded, you can call your function like any other function call on an object. The function can take as many parameters as you like because they are converted into a vector of strings when passed to the DLL function. The function also returns an integer. A typical function call might look like the following example:

Dim area
Dim radius
radius = 10
area = sbmLib.compute_area_of_circle( radius )
Dim error_message
Dim error_code;
error_code = 10
Call sbmLib.get_error_string_for_code( error_code, error_message )