I will just list a few issues I face with version 4.0.6, so that they may be fixed for version 4.1.
Error output:
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:51-13..51-17: error: invalid expression after ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:51-17..51-18: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:51-18..51-18: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:95-11..95-18: error: invalid input variable(s) declaration.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:95-5..95-11: error: unexpected token after 'VAR_INPUT' in input variable(s) declaration.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:133-21..133-26: error: invalid specification in variable declaration.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:138-17..138-24: error: invalid specification in variable declaration.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:139-17..139-24: error: invalid specification in variable declaration.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-7..243-18: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-23..243-24: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-24..243-31: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-48..243-49: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-49..243-57: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-74..243-75: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-75..243-84: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-97..243-98: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:243-98..243-98: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-7..244-18: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-23..244-24: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-24..244-31: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-48..244-49: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-49..244-57: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-74..244-75: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-75..244-84: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-97..244-98: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:244-98..244-98: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:285-7..285-23: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:285-42..285-43: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:285-43..285-43: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-15..331-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-51..331-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-52..331-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-73..331-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-74..331-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-96..331-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-97..331-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-119..331-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:331-120..331-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-15..332-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-51..332-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-52..332-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-73..332-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-74..332-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-96..332-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-97..332-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-119..332-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:332-120..332-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-15..363-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-51..363-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-52..363-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-73..363-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-74..363-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-96..363-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-97..363-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-119..363-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:363-120..363-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-15..364-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-51..364-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-52..364-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-73..364-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-74..364-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-96..364-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-97..364-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-119..364-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:364-120..364-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-15..394-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-51..394-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-52..394-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-73..394-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-74..394-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-96..394-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-97..394-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-119..394-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:394-120..394-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-15..395-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-51..395-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-52..395-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-73..395-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-74..395-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-96..395-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-97..395-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-119..395-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:395-120..395-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-15..425-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-51..425-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-52..425-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-73..425-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-74..425-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-96..425-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-97..425-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-119..425-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:425-120..425-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-15..426-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-51..426-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-52..426-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-73..426-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-74..426-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-96..426-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-97..426-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-119..426-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:426-120..426-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-15..454-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-51..454-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-52..454-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-73..454-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-74..454-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-96..454-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-97..454-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-119..454-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:454-120..454-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-15..455-26: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-51..455-52: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-52..455-59: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-73..455-74: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-74..455-82: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-96..455-97: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-97..455-106: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-119..455-120: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:455-120..455-120: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:497-11..497-22: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:497-47..497-48: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:497-48..497-48: error: invalid statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:501-11..501-22: error: invalid variable before ':=' in ST assignment statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:501-47..501-48: error: ';' missing at the end of statement in ST statement.
[3:39:37 PM]: /home/user/openplc/Test406/build/OpenPLC Runtime/src/program.st:501-48..501-48: error: invalid statement in ST statement.
[3:39:37 PM]: Stopping compilation process.