Posted: Aug 13, 2010 5:14 pm
VazScep wrote: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.
No worries. Code Complete is one of the rubberbibles I keep as a library reference for inter-language semantics.
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.

