Added compile functions for Pascal and C