Ambigious use of name - CO136

Anonymous
2020-02-25
2020-02-26
  • Anonymous - 2020-02-25

    Originally created by: Biisami

    I'm using function "SysFileOpen". Function is working but I get error CO136 "Ambigious use of name 'AM_WRITE'". I don't know why I get this error?

    Used syntax; FileHandle := SysFileOpen(szFile:= FileName, am:= AM_WRITE, pResult:=pResult);

    AM_WRITE is access mode for function. Here is information of used library;

    IMG: CodeSYS.png

     
  • josepmariarams - 2020-02-26

    Try with:

    Access_mode.am_write

    Sent from my Moto G (5S) Plus using Tapatalk

     

Log in to post a comment.