Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS9061
The "PTR(..) operation" is not allowed for method or function calls. If the method or function returns a pointer then consider using the (<Type> PTR) syntax instead.