New Version: 2018.02.12 1.4.1.13441
|
02-24-2018, 10:33 PM
Post: #41
|
|||
|
|||
RE: New Version: 2018.02.12 1.4.1.13441
(02-22-2018 08:20 PM)Han Wrote: Create your own custom 'store' and 'recall' functions that handle the data types you need. For example, you can create a RECSTO(record, recnum, label, value) function and RECRCL(record, recnum, label) to return the desired value. Hello Han, very interesting topic. I use the Prime also to store some data and for this i created a program able to handle exactly such data. My data structure is the following: { { "Title", "field1 name", field1_type, "label2", field2_type, ... , "labeln" }, { value1_1, value1_2, ..., value1_n }, // this is the first record { value2_1, value2_2, ..., value2_n }, // this is the second record ... } The program read the first item of the list, understand the number and type of field, ask the user to populate the data and store the new record... In HPPL it is very easy to implement a lot of small code to handle this data (add/modify/delete) records. Maybe the more difficult part is the GUI where it is difficult to dynamically browse the data with the existing output commands. I understand that your thread was to discuss how to dynamically create new variable and I am interested in better understanding the way you described with a code example if you have it. thanks Giancarlo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)