Variables - How & Where

Moderator: Benj

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Variables - How & Where

Post by Docara »

Messing around with FC trial (v5)

Variables - ok You can set them in project window, you can set them in macros, you can give them initial values and you can set them on the chart via Calculation.

Could someone please FULLY explain how and where to use them properly.

So, say I want to transfer a value from a macro to the main programme where do I define it

Doc

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Variables - How & Where

Post by LeighM »

Hi,
If you are a beginner I would suggest that you create your variables as Globals,
see the Project Explorer window, and add your variables to the Globals->Variables list.
All your variables will then be usable within Main and any macros.

Any variables created in macros are only usable within those macros, and the values of those variables are lost once execution exits that macro.

Post Reply