REM ***** BASIC *****
Function TestInvoke
script = ThisComponent.scriptProvider.getScript("vnd.sun.star.script:Standard.Module1.S_Ref_Long?language=Basic&location=document")
ret = script.invoke(Array(1), Array(), Array())
script = ThisComponent.scriptProvider.getScript("vnd.sun.star.script:Standard.Module1.S_Ref_Dbl?language=Basic&location=document")
ret = ret & "/" & script.invoke(Array(2), Array(), Array())
TestInvoke = ret
End Function
Function S_Ref_Long(n As Long)
S_Ref_Long = CStr(n) & " " & TypeName(n)
End Function
Function S_Ref_Dbl(n As Double)
S_Ref_Dbl = CStr(n) & " " & TypeName(n)
End Function