Change return behavior of AnnotationInfo for non-existent annotations
jjweimer
The current behavior of AnnotationInfo is to fail when the annotation does not exist. The equivalent of a /Z flag (ignore warnings) does not exist. I ask that the behavior of AnnotationInfo be to return an empty string when the annotation does not exist. I'd like to check AnnotationInfo without having to first check for existence using AnnotationList.
Good idea! I would prefer adding a /Z flag though.
October 6, 2024 at 06:43 am - Permalink
Since it is a function and not an operation, I think this cannot have a '/Z' flag, just an optional setting. Btw, I just wrap this in:
...
endif
October 6, 2024 at 07:35 am - Permalink
Dooh! Chozo is right of course. So I'd prefer the "empty string" return as well.
October 6, 2024 at 11:12 am - Permalink