Posted: Aug 13, 2010 12:12 pm
Nitpick: SQL isn't a metalanguage anymore than the others are. Any language can be used as a metalanguage, so long as you're using it to define another language (many languages nowadays use themselves as their own metalanguage --- C compilers are written in C)newolder wrote:Z80-assembly, Basic, Fortran, Pascal (e.g. “Delphi”), VB6, VB and metalanguages like sql etc.
In this case, when you write self.trash(), you are writing code inside the class which defines trash. Suppose you are calling the trash method from a different class? Then you need to write object.trash().I'm pretty sure I've coded the likes of
With self do
Begin
{code}
End; {With}
before now.