We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"...returns a number between 0 and 1, excluding 1..." -MemReflect on https://stackoverflow.com/questions/62278164/how-do-i-fix-the-error-subscript-out-of-range-in-qbasic
It excludes the upper number on multiplying:
RND * 5
int(random() * 5)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"...returns a number between 0 and 1, excluding 1..."
-MemReflect on https://stackoverflow.com/questions/62278164/how-do-i-fix-the-error-subscript-out-of-range-in-qbasic
It excludes the upper number on multiplying:
RND * 5
is probably interpreted asint(random() * 5)
(It never reaches 5).The text was updated successfully, but these errors were encountered: