codefori / vscode-rpgle

RPGLE language tools for VS Code
MIT License
39 stars 20 forks source link

Use of SND-MSG and variable Msg causes linter issues. #309

Closed m-tyler closed 6 months ago

m-tyler commented 6 months ago

Use of SND-MSG and variable Msg causes linter issues.

Is this a simple fix?

image

**FREE
  Dcl-S Msg Varchar(64);
  Msg = 'My message to the joblog';
  SND-MSG *INFO %MSG( 'MSG9997' : 'WFIMSGF' :Msg ) %TARGET( *SELF );
  *INLR = *ON;
  Return;
worksofliam commented 6 months ago

I will look into it. Thanks for your sample.

worksofliam commented 6 months ago

Fixed in 0.26.4.