An x-code programming example