Post Reply 
AS small alphanumeric signs
09-04-2015, 09:41 AM
Post: #14
RE: AS small alphanumeric signs
(09-04-2015 08:54 AM)tigger Wrote:  Let me see how I did it and hope we might get a good result: Maybe I might arrange it in another way. You might propose a better way.

So far I have:
Home: A, B, C,a,b, c
A: B,a,b
B: C
C:c

a, b, c: variables
A, B, C: subdirectories

What do see, if I typed a
1. in the home
2. in A
3. in B
4. in C

Well what I would like to know is: The value of a in HOME could difers to the value of a in A (like it is in HP)?

If you're in HOME, you'll see the HOME copy of a, b and c. All three vars will show up when you hit VAR.

If you're in A, VAR will show you A's copy of a and b. If you ask for c, you'll get the HOME copy of c, even though it won't show up in VAR.

If you're in B, you'll see no variables. However, the calculator will search in A for variables if it doesn't find them in B. As a result, the calculator will be able to access A's copy of a, b and HOME's copy of c, even though they're not in B.

If you're in C, you'll see the C copy of the c variable, and that's the only variable that shows in VAR. But, your calculator will look in B for a and b, won't find them, so it'll then look in A and find a and b.

The following table might explain better (H stands for HOME).
Code:

| Original Place | What VAR shows | Where var comes from |
-------------------------------------------------------
|     HOME:     |     Ha, Hb, Hc  |     Ha, Hb, Hc       |
|       A:      |      Aa, Ab     |     Aa, Ab, Hc       |
|       B:      |                 |     Aa, Ab, Hc       |
|       C:      |        Cc       |     Aa, Ab, Cc       |
-------------------------------------------------------

To be fair, that's a slightly complicated example compared to what I have, but probably not unrealistic.

(Post 15)

Regards, BrickViking
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
AS small alphanumeric signs - tigger - 08-30-2015, 12:19 PM
RE: AS small alphanumeric signs - Joe Horn - 08-31-2015, 03:35 AM
RE: AS small alphanumeric signs - tigger - 08-31-2015, 08:30 AM
RE: AS small alphanumeric signs - tigger - 09-01-2015, 09:26 AM
RE: AS small alphanumeric signs - tigger - 09-03-2015, 08:27 AM
RE: AS small alphanumeric signs - tigger - 09-03-2015, 02:52 PM
RE: AS small alphanumeric signs - Joe Horn - 09-03-2015, 03:46 PM
RE: AS small alphanumeric signs - tigger - 09-04-2015, 08:54 AM
RE: AS small alphanumeric signs - brickviking - 09-04-2015 09:41 AM
RE: AS small alphanumeric signs - tigger - 09-05-2015, 02:56 PM



User(s) browsing this thread: 1 Guest(s)