Accessing data from a separate file to be read by a program on 50g
|
06-02-2021, 09:32 PM
Post: #3
|
|||
|
|||
RE: Accessing data from a separate file to be read by a program on 50g
(06-02-2021 08:21 PM)3298 Wrote: Assuming that we're talking about UserRPL, and that "separate file" means "string variable" (a file from the SD card without the HPHP49... header will be treated as just that), and that "8 bit integers" are stored as raw bytes (a.k.a. characters), you can just recall that variable to the stack, then n n SUB to extract the n-th character from the string, and NUM to convert the character into an ordinary real number holding its numerical value. Thanks for the tips, although, I have an immediate response to your last paragraph only. I have attached 2 screenshots, and they show the amount of occurrences of the word string, and the front page of the corresponding manual they come from. I assume that enlightens you to why I feel it may be a bit easier to ask a question to knowledgeable users :-). I will definitely read through your answer, and again, thanks for taking the time to answer. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Accessing data from a separate file to be read by a program on 50g - matalog - 06-02-2021, 06:32 PM
RE: Accessing data from a separate file to be read by a program on 50g - 3298 - 06-02-2021, 08:21 PM
RE: Accessing data from a separate file to be read by a program on 50g - matalog - 06-02-2021 09:32 PM
RE: Accessing data from a separate file to be read by a program on 50g - BruceH - 06-02-2021, 10:56 PM
|
User(s) browsing this thread: 1 Guest(s)