> Change to > > Function rSafeVar: SafeVar_typ; Joao Morais Sorry about that. I pasted the wrong code in the email. I have already changed that. It does still not compile after the change. Carsten Med venlig hilsen Carsten Bager BEAS A/S Brørupvænget 10 DK-7650 Bøvlingbjerg Tlf. : +45 9788 5222 Fax : +45 9788 5434 www.beas.dk