I have Object class like that:
:Class People
:Field Public Type ← 'contact'
:Field Public Company ← ⍬
:Field Public Position ← ⍬
:Field Public Fax ← ⍬
:Field Public Email ← ⍬
∇ make args
:Access Public
:Implements Constructor
Name ← args[1]
Company ← args[2]
Position ← args[3]
⎕ ← 'New people maked'
∇
:EndClass
And I have an array of Objects of People class
Peoples ← (⎕New People ('Name1' 'Company1' 'Founder')) (⎕New People ('Name2' 'Company2' 'Founder'))
New people maked
New people maked
Peoples
#.[People] #.[People]
How do I export Peoples to an xml file? And then import an array from xml?
The task is to save the array and load it from the file when you restart it.