Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables are flagged as errors #164

Open
LenKrause opened this issue Oct 15, 2024 · 1 comment
Open

Variables are flagged as errors #164

LenKrause opened this issue Oct 15, 2024 · 1 comment

Comments

@LenKrause
Copy link

LenKrause commented Oct 15, 2024

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

image
image

@StephanWald
Copy link
Member

StephanWald commented Oct 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants