Comments (3)
Just fixed this, so it should work now! Basically, the arguments passed to commands such as draw
ended up getting evaluated multiple times (which is a problem when expressions containing random
always change), so I made sure they only get evaluated once. There were a bunch of other commands that are affected by this issues as well, so I fixed all of them, too.
5 cls
10 for count=1 to 10
11 x=random*500
12 y=random*500
20 draw random*500, random*500
30 next
40 goto 40
Thanks for reporting the issue! The atto.devicefuture.org site should update shortly, and you might need to clear your browser cache.
from atto.
(Also — not sure if it was intentional on your part — but I appreciate how the bad and good test cases are coloured red and green respectively 😉)
from atto.
Yes, if I don't do a "hard reset", the bug will still weirdly be there.
from atto.
Related Issues (20)
- editor detects and breaks program when reserved words are within variables HOT 1
- gosub does not work as expected not ending nicely the program HOT 1
- sqrt(0) returns Maths error HOT 5
- Unicode support HOT 2
- Add more courses HOT 3
- Add command reference for shell commands
- Allow for boolean variable conditions without equality check in `if` HOT 1
- [Announcement] atto is moving to a new home soon! HOT 2
- Add more functions, and document them
- Docs UX improvements
- Extload doesn't work HOT 9
- Line cursor's position doesn't update sometimes HOT 2
- Can't use `renum` HOT 6
- Make mathematical operators and functions automatically cast string operands/arguments to numbers HOT 5
- mid$ doesn't work with 0,0 arguments HOT 2
- Make last argument to `mid$` optional
- Input lag on Firefox HOT 1
- Add how to delete lines for beginner's guide HOT 1
- Add home and close buttons for help, and popout option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atto.