Skip to content

IDL Problem Code 103 with alias ambiguous-keyword-abbreviation

Want to disable me? Check out the configuration guide to learn more.

Execution Error

This is a fatal error that prevents IDL from compiling or running code

This problem detects when a keyword you use may have more than one definition.

Best Practice

It is a best practice to always use the full-keyword name and not abbreviate or shorten the names.

Here's an example of this problem:

idl
pro myPro, keyword_one = keyword_one, keyword_two = keyword_two
  compile_opt idl2
end

; main level
myPro, /keyword
;      ^^^^^^^^ ambiguous keyword abbreviation
end

To fix, type out the full name of the keyword you are trying to use:

idl
pro myPro, keyword_one = keyword_one, keyword_two = keyword_two
  compile_opt idl2
end

; main level
myPro, /keyword_one
;      ^^^^^^^^^^^^ OK!
end

Licensed under MIT.