Sorry for the bad English
We program in Pascal , and I'm enjoying B4A concept in its programming structure .
I like to create a constant file where I store text information in order to facilitate maintenance .
What better way to make a constants file so that I can use in any application.
From what I am seeing , it would be an activity containing the variables in the " Process_Global " section. It's correct?
Sub Process_Globals
Dim MESSAGE_ALERTA As String = "Hello"
Dim MESSAGE_ERRO As String = "Error"
End Sub
Call constant
NameActivity.MESSAGE_ALERTA
We program in Pascal , and I'm enjoying B4A concept in its programming structure .
I like to create a constant file where I store text information in order to facilitate maintenance .
What better way to make a constants file so that I can use in any application.
From what I am seeing , it would be an activity containing the variables in the " Process_Global " section. It's correct?
Sub Process_Globals
Dim MESSAGE_ALERTA As String = "Hello"
Dim MESSAGE_ERRO As String = "Error"
End Sub
Call constant
NameActivity.MESSAGE_ALERTA