11-20-2020 02:45 PM
1.what is a simple application of local variable in string operation ?
2. what is a simple application of local variable arithjr operation
11-20-2020 02:40 PM
What is a simple application of local variable in string operation ?
11-20-2020 04:00 PM
Go. Away. Unless you have some specific questions about your last couple of posts, just go away.
11-20-2020 05:24 PM
@Hansel55 wrote:
1.what is a simple application of local variable in string operation ?
2. what is a simple application of local variable arithjr operation
In the subject you talk about local and global, but your questions are about locals only. Please clarify.
What is a " arithjr operation". I am not familiar with that term.
Local variables offer alternative access to front panel elements (control or indicator). The don't do any "operations", just contain data copies.
Typically you don't need them.
11-20-2020 07:21 PM
@Hansel55 wrote:
1.what is a simple application of local variable in string operation ?
2. what is a simple application of local variable arithjr operation
Is that a homework assignment?
11-28-2020 05:36 AM
1.what is a simple application of local variable in string type?
2. what is application of local variable in arithmetic operation ?
3. what is a simple application of global variable in string type?
11-28-2020 08:02 AM
@Hansel55 wrote:
1.what is a simple application of local variable in string type?
2. what is application of local variable in arithmetic operation ?
3. what is a simple application of global variable in string type?
Apparently you want a flame war so, I'll answer with appropriate examples
11-28-2020 10:16 AM
@Hansel55 wrote:
1.what is a simple application of local variable in string type?
2. what is application of local variable in arithmetic operation ?
3. what is a simple application of global variable in string type?
1. Don't
2. Don't
3. Store the application version number in a Global Variable and use it to update something on all of your GUI windows so you can easily figure out what version of software is being ran. This helps a lot when debugging applications that are development or get regular updates.
11-28-2020 11:23 AM - edited 11-28-2020 11:34 AM
You. Need. To. Stop. Posting. The. Same. Thing. Over. And. Over.
As has been said, local variables represent front panel data of a specified control or indicator. They have whatever datatype the front panel object has (string, numeric, array, etc). They don't do "operations". The simplest application of a string local variable is a string terminal and it's local variable placed on the diagram. Completely meaningless!