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. 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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)