Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS9089
Functions cannot have an INIT or EXIT clause.