Of course i'm not going to use the PgCrypt() func below in any production app. The only goal is to torture the compiler.. The code is based on a crypt routine from the Intl. VO Forum. To make the code even more unreadable i have replaced Substr() with _nGet () and the result string is build with _nPut (). The function compiles with VO and X# ( 2.0.0.7 ) - and even the results are the same.