> Le 5 nov. 2016 à 21:00, Peter Mew <[email protected]> a écrit :
> 
> Hi
> I have an array of pointers, the pointers point to fields in a single table.
> The user is able to delete elements from the array.
> I want to be able to save the status of this array, so it can be loaded the 
> next time the program is opened.
> Save variable can't be used with arrays

I use "combo" in longint, light and easy to read:

field pointer to longint:
  $field_p:=->[aTable]aField
  $combo_l:=(table($field_p)*100000)+Field($field_p)

longint to field pointer:
  $table_l:=$combo_l\100000
  $field_l:=$combo_l%100000
  $field_p:=field($table_l;$field_l)

-- 
Arnaud de Montard 


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to