Menu

#1 Error with no return subroutine

open
nobody
None
5
2008-10-03
2008-10-03
Anonymous
No

Hi,

With PB9, there is ea problem with no return for subroutines and events in function of_get_scripts.

For li_Cnt = 1 To li_Limit
If (lsd_Scripts[li_Cnt].islocallyscripted) And
((lsd_Scripts[li_Cnt].name <> "create") And
(lsd_Scripts[li_Cnt].name <> "destroy")) Then

// Format function or event call
//New code Ini
If isvalid(lsd_Scripts[li_Cnt].returntype) then
//New code End
ls_Returns = lsd_Scripts[li_Cnt].returntype.name
If Trim(ls_Returns) <> "" Then
ls_Returns = "Returns " + ls_Returns
End If
//New code Ini
Else
ls_Returns = "No Return"
End If
//New code End

Best regards,
Thomas

Discussion


Log in to post a comment.

MongoDB Logo MongoDB