Android Question where to declare a New Module

Bluegyn

Member
Hello,

I have created a new module "dialogs.bas" to collect all my MessageBoxes patterns (like Sub Info, Warning, Confirm etc ..) through the menu Project ADD, but I Log the error "Var Not declared = used before get a value" (french translation)

How and where should i declare my new or shared dialogs.bas ?

Thanks ***{:-
 

Bluegyn

Member
Thank you for answer, i finally got the solution
It was a syntax error manipulating Basic Code Objects as a Newbie :'-)

ADDING a MODULE of CODE : Dialogs.bas with the costumized MsgBox function "Sub Warning (msg as string)"

I directly called the routine
> Warning("ATTENTION")

instead of the complete hierarchy
> Dialogs.WARNING("ATTENTION")

No other declarations required

Works fine now , thank you
***{:)
 
Upvote 0
Top