Skip to content

cannot mix implicit and explicit call parameters #668

@rarris

Description

@rarris
PROGRAM mainProg
VAR
str : STRING;
TMPstr : STRING := 'abc';
END_VAR
logg(Str := CONCAT(TMPstr, 'wwww'), global3);
END_PROGRAM
FUNCTION logg : BOOL
VAR_INPUT
	Str : STRING[255];
	debug : DWORD;
END_VAR
VAR
END_VAR
END_FUNCTION
VAR_GLOBAL
global3 : DWORD;
END_VAR

error: Cannot mix implicit and explicit call parameters!
┌─ test.st:60:38

60 │ logg(Str := CONCAT(TMPstr, 'wwww'), global3);
│ ^^^^^^^ Cannot mix implicit and explicit call parameters!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions