Post Reply 
HP 50G help
04-24-2015, 10:25 PM (This post was last modified: 04-24-2015 10:25 PM by Tugdual.)
Post: #18
RE: HP 50G help
(04-24-2015 07:34 PM)DavidM Wrote:  
(04-24-2015 05:19 PM)Tugdual Wrote:  It is indeed something fundamental to understand.
But this being said is that the right way to go? The calculator would naturally feed the root directory with a lot of crap and a purge is tedious; my conception of a directory is precisely to isolate/encapsulate problems in their own context. So when I create a subdir I would expect to start with a blank page.
In my humble opinion, this mechanism totally ruin the concept of directories.

As others are pointing out, there's benefits to this technique and at the same time you can still be more explicit with your own programs if needed.

Note that this is more of an issue for RCL than STO. Consider the following:

- you have an object named 'ABC' in HOME containing the string "ABCDEFGHIJK"
- your current directory is set to { HOME MyVars MyStrings }, and it contains no objects

In this scenario, if you place 'ABC' on the stack and execute RCL, you will end up with "ABCDEFGHIJK" on the stack that was recalled from HOME. Conversely, if you enter "XYZ" and 'ABC' on the stack and press STO, the result will be two different 'ABC' variables in two different locations: { HOME } and { HOME MyVars MyStrings } . The original version in HOME is left unchanged, and a new one is stored in the current directory.
Understood, but root variables are pretty similar to global variables which I tend to avoid since the day I started OOP.

Also the major drawback is that you cannot undefine a variable locally, hence CAS will be confused and would use root variable when you really meant it to be unknown and symbolic. I can't help finding that very misleading.

Finally the VAR button does only show variables of the current directory while there could be much more available at this stage. This I think is the origin of my confusion and somehow this is not consistent with the way the calculator actually operates.

This being said I respect all opinions expressed from people having obviously much more experience than I on this topic. I'll obviously need to dig a little bit more in the user guides. Tx all for feedback.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50G help - jrmc114064 - 04-23-2015, 04:11 AM
RE: HP 50G help - Gilles - 04-23-2015, 09:09 AM
RE: HP 50G help - jrmc114064 - 04-23-2015, 04:00 PM
RE: HP 50G help - Gilles - 04-25-2015, 12:48 PM
RE: HP 50G help - Marcio - 04-25-2015, 02:23 PM
RE: HP 50G help - Gilles - 04-25-2015, 02:38 PM
RE: HP 50G help - Marcio - 04-25-2015, 02:46 PM
RE: HP 50G help - Sukiari - 04-27-2015, 10:05 PM
RE: HP 50G help - Marcio - 04-27-2015, 10:13 PM
RE: HP 50G help - jrmc114064 - 04-23-2015, 04:08 PM
RE: HP 50G help - Tugdual - 04-23-2015, 09:08 PM
RE: HP 50G help - peacecalc - 04-23-2015, 10:23 PM
RE: HP 50G help - Tugdual - 04-24-2015, 07:16 AM
RE: HP 50G help - Marcus von Cube - 04-24-2015, 08:41 AM
RE: HP 50G help - Tugdual - 04-24-2015, 10:21 AM
RE: HP 50G help - Marcus von Cube - 04-24-2015, 11:08 AM
RE: HP 50G help - Tugdual - 04-24-2015, 11:52 AM
RE: HP 50G help - DavidM - 04-24-2015, 04:23 PM
RE: HP 50G help - Tugdual - 04-24-2015, 05:19 PM
RE: HP 50G help - Han - 04-24-2015, 05:32 PM
RE: HP 50G help - rprosperi - 04-24-2015, 05:33 PM
RE: HP 50G help - DavidM - 04-24-2015, 07:34 PM
RE: HP 50G help - Tugdual - 04-24-2015 10:25 PM
RE: HP 50G help - Sukiari - 04-25-2015, 02:42 PM
RE: HP 50G help - Sukiari - 04-25-2015, 02:37 PM
RE: HP 50G help - Marcio - 04-24-2015, 01:25 AM
RE: HP 50G help - Hlib - 06-08-2015, 08:46 PM
RE: HP 50G help - Hlib - 07-23-2015, 04:26 PM
RE: HP 50G help - DavidM - 07-23-2015, 06:15 PM
RE: HP 50G help - rprosperi - 07-23-2015, 09:32 PM
RE: HP 50G help - Hlib - 07-23-2015, 10:18 PM
RE: HP 50G help - Brad Barton - 07-23-2015, 11:17 PM
RE: HP 50G help - rprosperi - 07-24-2015, 01:30 AM
RE: HP 50G help - Hlib - 07-23-2015, 08:40 PM
RE: HP 50G help - Hlib - 07-24-2015, 09:21 AM
RE: HP 50G help - Hlib - 08-14-2015, 04:25 PM
RE: HP 50G help - Claudio L. - 08-14-2015, 09:28 PM
RE: HP 50G help - Hlib - 03-17-2016, 06:22 PM
RE: HP 50G help - ttw - 03-17-2016, 10:41 PM
RE: HP 50G help - Hlib - 08-06-2016, 02:47 PM
RE: HP 50G help - Hlib - 08-05-2016, 02:44 PM
RE: HP 50G help - Claudio L. - 08-05-2016, 04:31 PM
RE: HP 50G help - Hlib - 08-06-2016, 12:11 PM
RE: HP 50G help - Vtile - 08-06-2016, 03:26 PM
RE: HP 50G help - Massimo Gnerucci - 08-06-2016, 03:29 PM
RE: HP 50G help - Claudio L. - 08-06-2016, 07:23 PM
RE: HP 50G help - Claudio L. - 08-06-2016, 07:30 PM
RE: HP 50G help - Hlib - 08-06-2016, 08:05 PM
RE: HP 50G help - DavidM - 08-06-2016, 09:31 PM
RE: HP 50G help - Joe Horn - 08-07-2016, 10:59 PM
RE: HP 50G help - DavidM - 08-08-2016, 02:41 AM
RE: HP 50G help - rprosperi - 08-09-2016, 11:32 PM
RE: HP 50G help - DavidM - 08-10-2016, 01:44 AM
RE: HP 50G help - Vtile - 08-08-2016, 01:25 AM
RE: HP 50G help - Joe Horn - 08-08-2016, 12:17 PM



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