Post Reply 
HP41CX - Naive' question - "Current File"
12-17-2022, 09:33 AM
Post: #6
RE: HP41CX - Naive' question - "Current File"
(12-16-2022 11:35 PM)Gene Wrote:  If you use RCLPT and there is no working file, the message "FL NOT FOUND" is displayed.

In a program, this code:

LBL 01
SF 25
RCLPT
FS? 25
This step is executed if there is no current file.

I'm surprised nobody seem to remember that it's dangerous to have no working file with the Extended Functions module 1B.
From the Ext-Fcn manual Addendum 82180-90026, April 82 (not on Eric's site, but can be found elsewhere ...):
"After a file in extended memory is purged, there is no working file.
[...] you should always define a working file before executing functions that operate on it;
otherwise, all files in extended memory will be lost".

The above code is risky.

J-F
(still using an Ext-Fcn 1B on my 41CV)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP41CX - Naive' question - "Current File" - J-F Garnier - 12-17-2022 09:33 AM



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