Declaring Global Variable

Hi All,

I have a tax calculation formula wherein i need to declare a additional global variable into clarion, how do i declare and use global variable in .clw file which is disappearing after i build the solution.

How do i declare and use it in a procedure or create a global var and use it into existing fomula.

Not sure I understand about formula but you can define a global variable like this:

Open Data / Tables tab - select Global Data

1 Like

Generated modules are just for looking at. Not editing.

Usually, the dictionary is the best place to declare a variable. Especially if it’s a multi-dll app.

You can also declare it in the application itself. Either as Clarion_clarion described or manually in a global embed.

1 Like

Thanks @jslarve this worked for me.

Thanks @Clarion_clarion this worked for me