Call Const for all app web

I need declare constant for all process, but what’s format or syntax for call CONSTANT

Const IPSERVIDOR = “192.168.1.11”

…?

Button:
Msgbox (“IP SERVIDOR” + Call Constant…?)

just IPSERVIDOR ?

Msgbox (“IP SERVIDOR” + IPSERVIDOR)

Yes, IPSERVIDOR es const, and IP SERVIDOR is label into dialog

Does the code work or not?

Yes Display dialogbox, but not value of Const

Create the Constant in a Module with a scope of Global and it will be accessible everywhere in your project.

Just try writing these two lines of code in the open event of a window

Const IPSERVIDOR = “192.168.1.11”
Msgbox (“IP SERVIDOR” + IPSERVIDOR)

The to make the constant global you would move it to a module like greg suggested and remove the first line of code