Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

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.