Post Reply 
AS small alphanumeric signs
09-03-2015, 12:40 PM
Post: #10
RE: AS small alphanumeric signs
(09-03-2015 08:27 AM)tigger Wrote:  Thanks for your answer.
How could you manage to put that Picture in the Forum?

Lets say there is the

HOME
with subdirectory A
A has the súbdirectory B
B has the subdirectory C

Whenever I have assigned Variables (x, y, Z) in Home I have These variables in A, in B and in C, too.
I can neither assigne those varialbes (x, y, z) in A nor B nor C.

x, y, z are called global variables?

I can not find something in the user Manual to read about it. Could you give some keywords to search it or links which lead me to the pages in user Manual.

Not quite. The x, y, and z variables aren't in the directories A, B, or C, but they are visible from those directories. If you went into, say, directory B and stored something in y, there would now be a new variable named y in the directory B. This particular y would be visible from within B and C, but in A or HOME, the name would reference the variable y that's in HOME.

When reading a variable, the calculator will work its way up the directory tree all the way to HOME until it finds it (or if it doesn't find it, will either put the unresolved name on the stack or spit out an error depending on what you're trying to do). When storing a variable, it will always store to a (potentially new) variable within the current directory only.

This glosses over some details like specifying explicit paths, or working with local variables within a program, but that's the basic idea.
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 - Dave Britten - 09-03-2015 12:40 PM
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 - tigger - 09-05-2015, 02:56 PM



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