I am beginning to make a web project. If in a method a put, for example:
Const PIPPO as text = “ciao”
i get syntax error.
What’s wrong? Maybe I put const command in wrong place? (now it’s inside a method)
And where have I to put “DIM” commands to have such variables shared everywhere in my application? (something as “dim shared” in old basic)
Thanks… about modules: can I write code (for example CONST or DIM commands) in a module, or in module I can only define constants and variable in xojo interface?
(I have already ready about one page of DIM commands, it’s easier to cut and past in module’s code all together, to have variables shared inspite of setting one by one in xojo graphical interface under module)
Thanks