Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Lists
- CodeCat675
-
12 posts
Lists
I'm making a computer using lists, but I want it to scroll to the bottom automatically. How can I do this?
- MijiGamin1_is_cool
-
100+ posts
Lists
Maybe you could write it chronologically, from newest to oldest, like:
so that rather then scrolling all the way down to see the most recent thing, the most recent thing just appears at the top.
if <computer action happens> then
insert [thing that happened] at (1) of [list of things that happened]
end
so that rather then scrolling all the way down to see the most recent thing, the most recent thing just appears at the top.
- CodeCat675
-
12 posts
Lists
It might look weird like that
this is what it would look like with the calculator
The answer is 5
2
Choose second number
3
Choose first number
1
Choose 1, 2, 3, or 4
4. divide
3. multiply
2. subtract
1. add
Choose the operation
this is what it would look like with the calculator
The answer is 5
2
Choose second number
3
Choose first number
1
Choose 1, 2, 3, or 4
4. divide
3. multiply
2. subtract
1. add
Choose the operation
- CodeCat675
-
12 posts
Lists
i'll try it but like this
The answer is 5
2
Choose second number
3
Choose first number
1
Choose first number
1
Choose the operation
1. add
2. subtract
3. multiply
4. divide
Choose 1, 2, 3, or 4
The answer is 5
2
Choose second number
3
Choose first number
1
Choose first number
1
Choose the operation
1. add
2. subtract
3. multiply
4. divide
Choose 1, 2, 3, or 4
- CodeCat675
-
12 posts
Lists
this is what it looks like
(removed by moderator - please make sure that links lead only to appropriate content)
(removed by moderator - please make sure that links lead only to appropriate content)
Last edited by Paddle2See (Oct. 31, 2022 17:42:54)
- CodeCat675
-
12 posts
Lists
I found out how to do it. I made it so when it adds text, it deletes the top text, like this:
if <thing> then
delete (1) of [list v]
add [thing] to [list v]
end
- Discussion Forums
- » Help with Scripts
-
» Lists