HP 48GX - Store Coordinates in a List
|
03-31-2021, 09:27 PM
Post: #5
|
|||
|
|||
RE: HP 48GX - Store Coordinates in a List
(03-28-2021 04:21 AM)MNH Wrote: Suppose I have coordinates representing the topographic features of a piece of commercial property. There will be coordinates representing the property boundary too. These coordinates will be stored by point number, but not in consecutive order, and not starting with point number one. If I want to store the coordinates in a list of lists, these constraints might be a pain to deal with. Each list in the list will have the following format: You are mistaken. ;-) There's no offset and no wasted space - your list is storing exactly what you see, namely the number 100, followed by an array [5000,5000] followed by a string and so on. That number 100 is just a number in a list and has no special meaning. Quote:Maybe I could do something like this after point # 100 is stored: Lists don't have indexes like that. There's no handy "store this under index 50; retrieve index 50" pair of commands, unfortunately. Quote:After point # 500 is stored: No need, one list is just as good as two in this scenario. If you do want to split up the lists to separate the points logged by different crews then I would suggest using different variable names for each of the lists rather than adding another number to the beginning. Quote:Does anyone have any suggestions about how this might be done? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)