I want to create a Procedure CatchImageEnhanced(gadget,?,error_message$).
What type of variable is the "?" ?
Code: Select all
; Pop-up menus
If CatchImage(#GLOBAL_IMAGE_POPUP_EDIT,?popup_edit)=#False : MessageRequester("Error", "Can't load image.",#PB_MessageRequester_Error) : EndIf
If CatchImage(#GLOBAL_IMAGE_POPUP_ADD,?popup_add)=#False : MessageRequester("Error", "Can't load image.",#PB_MessageRequester_Error) : EndIf
DataSection
; Pop-up menus
popup_edit:
IncludeBinary "./media/popup_edit.png"
popup_delete:
IncludeBinary "./media/popup_delete.png"
blah blah blah

