Recalling X-MEM files information - RAMPAGE
|
06-28-2021, 12:00 AM
Post: #3
|
|||
|
|||
RE: Recalling X-MEM files information - RAMPAGE
(06-25-2021 03:15 PM)Ángel Martin Wrote: If I understand your description, why not saving the current pointer using RCLPTA, so you can restore it later with SEEKPTA? Yes, Angel. I discovered this too re-reading the X files use in HP-41CX manual. Actually, there's no need to save the pointer of each x-file opened, as each one has his own header which is preserved even if the file is not the current. So, just save the name of actual before selecting the desired one in a structure of a stack: last in, last out - include always on first record. Just was wondering about recursiviness or the rotine A call B that calls A again, but this is very crazy. In the case of recursive programs, there would be necessity of saving the pointer, but what would be the effectiviness if variables have been changed? I'll not allow duplicated files name in stack, so, no recursiveness. Best regards! Artur ARTUR MARIO JUNIOR BRAZIL |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Recalling X-MEM files information - RAMPAGE - Artur - Brasil - 06-24-2021, 05:50 PM
RE: Recalling X-MEM files information - RAMPAGE - Ángel Martin - 06-25-2021, 03:15 PM
RE: Recalling X-MEM files information - RAMPAGE - Artur - Brasil - 06-28-2021 12:00 AM
RE: Recalling X-MEM files information - RAMPAGE - Artur - Brasil - 06-29-2021, 10:28 PM
|
User(s) browsing this thread: 1 Guest(s)