Hi, Geir;
I'm not sure about what input command (there are many) you are actually using to capture the variable name (in this case, MTX1). BTW, which HP48 are you using? The S-series, the earlier G-series or the new GII?
If you have one of the earlier G-series model, the complement to the User's Manual (AUG, or Advanced User's Guide) has references to all available UserRPL commands/functions plus a friendly explanation on how to use the various input resources. I'm not sure about the best one in your case, but the INFORM is the most resourcefull of them. Anyway, you can check for input 'sintax' and data format by specifying some additional parameters, and then your name will be placed in the stack as 'MTX1' instead of "MTX1".
There is another handy command in the HP48, the OBJ->, that returns an object within another object. It is meant to 'disassemble' complex objects into elementary objetcs (a list into its individual objects, an array into its numbers, a program into its comands, etc.). I'm not sure if the OBJ-> actually evaluates the returned object(s); if so, any exisitng object named MTX1 in the current directory or in any subdirectory associated with the current directory will be returned and evaluated (I'm not so sure about this, should test or read about).
Anyway, you should try using the 'poor man' converter: add one "'" to both the head and tail of the name. Than you have "'MTX1'" instead of "MTX1". Now you use OBJ-> (or STR->) and the name 'MTX1' is returned, even if there is a variable named MTX1 in the same conditions explained below.
I'd try to go ahead with some experiences. Please, let us know what HP48 you have, so we can give you better guidance (by 'we' I mean anyone in this forum, OK?).
Best regards.
Luiz (Brazil)
Edited: 8 Aug 2005, 12:33 p.m.