Skip to content

Log <x> to <var> interpreted as var not used. #189

@Strych74

Description

@Strych74

I tend to define log filenames to a variable, which I then use as synonyms when logging data to an output file, e.g.

{
local OutFile is "0:/Archive/ShipOutput.txt".
log "Yay" to OutFile.
}

The extension shows this as a problem in VS Code - in the problems window I get the message "Local variable OutFile was not used". Is this something fixable?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions