for

for jubelt einer Klasse eine zusätzliche statische Funktion unter.

Person contains
{
  Vorname as string,
  Nachname as string;
  
  construct( Vorname, Nachname );
};

  
AsString is code for Person :=
  return Vorname + " " + Nachname;
  
main is code :=
  p is Person( "Sascha Atrops" );
  
  print p.AsString();

Alternativ:

sizeof is static code
{
  for char = 1;
  for short = 2;
  for long = 4;
};

sizeof is code for Person = 0;

short s;
print char.sizeof();
print s\.sizeof();