Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
'm.'-prefix. How? What? Why?
Hi,
When using the scatter command on a table, an object variable is created (m) with the column names as properties. (ie, m.id)
But, when declaring a variabel with
LOCAL a
it can also be accessed with m.a.
Same with creating objects.
LOCAL o
o = CREATEOBJECT( "CUSTOM" )
m.o.DESTROY()
What's up with the m.? Why is it there? (Why) should I use it?
Thanks in advance,
Erik Dokter
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement