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

FOR Loop / INT goes wild #93

Open
invpe opened this issue Dec 28, 2023 · 0 comments
Open

FOR Loop / INT goes wild #93

invpe opened this issue Dec 28, 2023 · 0 comments

Comments

@invpe
Copy link

invpe commented Dec 28, 2023

Script:

STARTHERE = 274148111
ENDHERE = STARTHERE+100 
PRINT STARTHERE,"->",ENDHERE;
FOR Z = STARTHERE TO ENDHERE 
PRINT Z;
NEXT Z

Execution:

274148111->274148192 << Bad already
274148096
274148097
274148098
274148099
274148100
274148101
274148102
274148103
274148104
274148105
274148106
274148107
...

INTEGER type defined as

#ifndef int_t
#	define int_t int
#endif /* int_t */

Thus it should theoretically support INT_MAX=2147483647
5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

@invpe invpe changed the title FOR Loop goes wild FOR Loop / INT goes wild Dec 28, 2023
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