SBM AppScript Reference → Additional SBM AppScript Features → Calling Functions in a DLL from SBM AppScript → 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 = ttLib.compute_area_of_circle( radius ) Dim error_message Dim error_code; error_code = 10 Call ttLib.get_error_string_for_code( error_code, error_message )
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.