443 B
443 B
Notation
lightdb
a
take the valuec
at keyb
"aL:b -> c"
I. New subject survey
INPUT: id_subject, contacts[], relations[]
LIGHTDB: subjectL, contactL,
BEGIN
// initialisation des données du sujet (contact par name)
subjectL:id_subject -> [ ]
// On enregistre chaque contact
foreach contacts[] as i=>contact
contactL:uniqid -> contact[i]
subjectL:id_subject[contact[i].name] = uniqid++;
END