Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

How to get the exact type of routine?

After using GetRoutines() to get all routines in one specified module, when try to get the exact type of one routine with Type property, no matter it's function , procedure, trap, it always returns "Routine". So my question is how to get the exact type for trap to return "trap" accordingly?
Thank you!

Comments