I definded a custom head file--custom.sbh,custom.sbl, in custom.sbl , a custom type is definded:
Type t
a as string
b as string
c as string
End Type
Then i definded a function to return the custom type,
Function f as (info as t) as integer
info.a="a"
info.b="b"
info.c="c"
f=0
End function
when i include this custom.sbh,push F5 to invoke this function, the Rational will indicate "Runtime error '906' - module Myscript Name,lin11 . External procedure interface mismatch. "
It's strange it worked well one minute ago..... Only one thing i know is it's related to my custom type and custom function!!! If i re-compiled it and this phenomena vanished, later it will happen again.
I don't know what problem happened????????????????????How can i dispose it?
I definded a custom head file--custom.sbh,custom.sbl, in custom.sbl , a custom type is definded:
Type t
a as string
b as string
c as string
End Type
Then i definded a function to return the custom type,
Sub f (Byref info as t)
info.a="a"
info.b="b"
info.c="c"