[fpc-pascal] Silly Syntax Games

Nikolay Nikolov nickysn at SexMagnet.com
Fri Jun 10 01:13:21 CEST 2005


L505 wrote:

>But.. for all the C wussies out there.. this won't work :
>
>program Project1;
>
>{$mode objfpc}{$H+}
>
>
>{$define {:= begin} //this works
>{$define }:= end. }  //this doesn't work
>{$define }:= end; }  //this doesn't work
>
>var
> iLoc:integer;
> 
>{
> for iLoc:= 1 to 60 do
>  writeln('test')
>}
>
>
>........So how do you escape the } in a define?
>  
>
How about making an International Obfuscated Pascal Code Contest? :)




More information about the fpc-pascal mailing list