Error message when compiling with the PLC Designer V3 (ambiguous use)

Question:
Why is the error message #ambiguous use of the name 'DELETE'# indicated although this string operation is only used once in the program?

Answer:
The 'DELETE' function can be included in and used by different libraries.  

It can be found out if this is the case by searching for it in the library repository.

In order to solve the problem it is required to put the name space at the beginning of the library to be used, e.g.:

sDataLine := Standard.DELETE(STR:=sDataLine , LEN:= 3, POS:=1 );

Depending on the libraries included this problem can principally occur with and function or in any function block!

Search terms: error message, library, repository, compile, compiling, ambiguous

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/201110623/1/
Contact form