vscode-rpgle icon indicating copy to clipboard operation
vscode-rpgle copied to clipboard

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

Open m-tyler opened this issue 1 year ago • 1 comments

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;

m-tyler avatar Apr 12 '24 22:04 m-tyler

I will look into it. Thanks for your sample.

worksofliam avatar Apr 12 '24 23:04 worksofliam

Fixed in 0.26.4.

worksofliam avatar Apr 16 '24 14:04 worksofliam