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

IN ... SOLVE error error #227

Open
Lartu opened this issue Nov 13, 2024 · 0 comments
Open

IN ... SOLVE error error #227

Lartu opened this issue Nov 13, 2024 · 0 comments

Comments

@Lartu
Copy link
Owner

Lartu commented Nov 13, 2024

mue@mx:~/prog/ldpl$ ldpl cal.ldpl 
* Loading cal.ldpl
* Compiling cal.ldpl
* Building cal-bin
ldpl-temp.cpp: In function ‘int main(int, char**)’:
ldpl-temp.cpp:14:63: error: expected ‘;’ before ‘to_number’
   14 | VAR_ERGEBNIS = to_number(VAR_ARGV[0]) + to_number(VAR_ARGV[1]) to_number("\n");
      |                                                               ^~~~~~~~~~
      |                                                               ;
LDPL Error: compilation failed.
«

For IN ergebnis SOLVE argv:0 + argv:1 CRLF.

LDPL doesn't check that the SOLVE formula has a valid form. The issue here is not the CRLF, but that an operator is missing between argv:1 and CRLF.

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

1 participant