BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
7 stars 6 forks source link

Variables are flagged as errors #164

Open LenKrause opened 4 weeks ago

LenKrause commented 4 weeks ago
call "CDS069",0,0,0,0,"+As of Date+", "J", asof
if ctl=4 bye
?'cs',
json! = Payment.getOpenPayments(asof)

image image

StephanWald commented 4 weeks ago

This is sort of expected, as your variable asof is not initialized but used without prior initialization.

Add asof=0before the CALL statement and see the error flagging gone.

To be discussed.