cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Global Definition

MikeArmstrong
12-Amethyst

Global Definition

All the best everyone.

I have a question regarding the disadvantages of the Global definition. I know that it can�t be used when extracting data from Excel component, but cannot find any additional disadvantages.

The one major advantage is that results can be displayed above the calculated area, which is very useful when producing formal documents.

Regards

Mike
24 REPLIES 24

And your question is?


Fred Kohlhepp
fkohlhepp@sikorsky.com

Basically, the restrictions within Mathcad when using this definition.

Regards

Mike

I never use GLOBAL because most often I re-use equations or re-define variables in a worksheet. If you are doing one calculation in a sheet then using GLOBAL may not be an issue.

Preston

Ok cheers.

The main issue is displaying results above where they have been calculated without manually changing them when an input is changed.

Regards

Mike

On 1/6/2010 11:46:14 AM, Armo wrote:
>Ok cheers.
>
>The main issue is displaying
>results above where they have
>been calculated without
>manually changing them when an
>input is changed.
>
>Regards
>
>Mike

Huh? You listed that as an advantage, so what is the issue?

TTFN,
Eden

>Huh? You listed that as an advantage,
>so what is the issue?

That is the issue, that�s why I'm asking if anybody knows any disadvantages of using them.

Regards

Mike

On 1/6/2010 11:59:18 AM, Armo wrote:
>>Huh? You listed that as an advantage,
>>so what is the issue?
>
>That is the issue, that�s why
>I'm asking if anybody knows
>any disadvantages of using
>them.
>
>Regards
>
>Mike

as far as I know there is no disadvantage unless you attempt to redefine the value somewhere on the sheet. Then, as pointed out elsewhere, there will be confusion.

Fred Kohlhepp
fkohlhepp@sikorsky.com

"I'm asking if anybody knows any disadvantages of using them."
_____________________

Global definitions have no disadvantages. Just a matter of using them when convenient, for instance to avoid collapsing area(s)if you want the result to show somewhere at the top of the work sheet ... think in term of a *.PDF that will not capture collapsed area(s).

jmG

Cheers question answered.

Regards

Mike

I think I have found a disadvantage.

When using the given/find function the global definition cannot be used, therefore the answer has essentially been calculated using the local definition and cannot be shown above the function.

Regards

Mike

Can ou post an example?


Fred Kohlhepp
fkohlhepp@sikorsky.com

See attahced

Regards

Mike

That's not a "disadvantage" That's just something it doesn't do.

Moreover, your example is incorrect in syntax, because while your inputs are globalized, the Find result is not. So your example does not actually show an error. The c=1 is correct, based on the fact that the globalized value of c is 1, and you then redefine it to equal 3, but that's a local assignment.

The correct syntax should be c ~ Find(c), which then fails because Find cannot be globalized.


TTFN,
Eden

On 1/13/2010 1:10:09 PM, eden_mei wrote:
>That's not a "disadvantage"

I would say that it is a disadvantage because when using (Find) the answer cannot be globalized therefore the answer can not be shown say above in a results table.

Regards

Mike

On 1/13/2010 11:49:56 AM, Armo wrote:
>I think I have found a disadvantage.
...
>Regards
>
>Mike
____________________________________

A feature is a feature, a matter of application.



jmG









I understand that the first c is for the birds, but what I'm trying to say is that once the Find function has produced an answer it cannot be shown above that function, like a globalized varible.

Regards

Mike

You can always use an Excel component (as a function) to show values anywhere on the sheet.
__________________
� � � � Tom Gutman

Tom

I use Excel components all the time but have never used them as a function.

Would you be able to demonstrate please?

Regards

Mike

This should be an example. http://collab.mathsoft.com/read?129923,63e#129923
__________________
� � � � Tom Gutman

That is exactly what I have been looking for.

Cheers even though I have no idea how it works.

Regards

Mike

I'd like to see that example, but can't get it to open. Does anyone else have an example of how to incorporate Excel information into a Mathcad sheet?

On 1/14/2010 3:31:55 AM, Armo wrote:
>I understand that the first c
>is for the birds, but what I'm
>trying to say is that once the
>Find function has produced an
>answer it cannot be shown
>above that function, like a
>globalized varible.
>
>Regards
>
>Mike
____________________________

YES, you can ! Put the solver in a text box.



jmG



More for your convenience.

jmG

Cheers

Regards

Mike
Announcements

Top Tags