hp41cx utility function to trim an ASCII EM file
|
02-04-2020, 01:05 AM
Post: #1
|
|||
|
|||
hp41cx utility function to trim an ASCII EM file
Can anyone help me recall a small utility function that automatically resized an EM flle to the minimum size for its current number of records?
I thought it was in the original forum? Thanks! Todd |
|||
02-04-2020, 03:04 AM
Post: #2
|
|||
|
|||
RE: hp41cx utility function to trim an ASCII EM file
I believe this post may be what you are looking for?
https://www.hpmuseum.org/cgi-sys/cgiwrap...read=38991 Cheers, Lyle |
|||
02-04-2020, 03:57 AM
Post: #3
|
|||
|
|||
RE: hp41cx utility function to trim an ASCII EM file
You may have to adapt to fit your needs but here’s one:
https://www.hpmuseum.org/forum/thread-65...l#pid60476 André |
|||
02-04-2020, 06:03 AM
(This post was last modified: 02-04-2020 06:04 AM by Ángel Martin.)
Post: #4
|
|||
|
|||
RE: hp41cx utility function to trim an ASCII EM file
(02-04-2020 01:05 AM)twdeckard Wrote: Can anyone help me recall a small utility function that automatically resized an EM flle to the minimum size for its current number of records? Define "minimum number of records": all non-zero, consecutive, at the END of the file; is that it? So the routine4 will have to start checking from the last record, counting records until finding the first non-zero value. There can be more zero records in-between that one found and the file head, but those should remain, correct? "To live or die by your own sword one must first learn to wield it aptly." |
|||
02-04-2020, 12:58 PM
Post: #5
|
|||
|
|||
RE: hp41cx utility function to trim an ASCII EM file
(02-04-2020 03:57 AM)dayd Wrote: You may have to adapt to fit your needs but here’s one:perfect! that was it |
|||
02-05-2020, 01:50 AM
Post: #6
|
|||
|
|||
RE: hp41cx utility function to trim an ASCII EM file
(02-04-2020 12:58 PM)twdeckard Wrote: perfect! that was it Well... not so perfect it seems, I found a mistake and made a little correction; => PKFLAS |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)