Discuss Scratch

cupcake1502
Scratcher
100+ posts

I need help with an ASCII converter.

Hi,
I am working on a ASCII Converter (https://scratch.mit.edu/projects/517256422/) that converts letters, numbers and symbols into ASCII Code.
The part where it adds the code to copy and paste doesn't work. Please tell me how to fix it ASAP. Thank you.
pkhead
Scratcher
1000+ posts

I need help with an ASCII converter.

you're putting it in the “ascii” list instead of the “ascii encoded” list lol

also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.

Last edited by pkhead (April 18, 2021 05:21:06)

awesome-llama
Scratcher
1000+ posts

I need help with an ASCII converter.

pkhead wrote:

you're putting it in the “ascii” list instead of the “ascii encoded” list lol

also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
It is shared but the URL is wrong as there is a bracket in it.

One of the issues, like pkhead said was that the output is being put in to the wrong list so you can't see it.
There is another problem as well, where the data is only being output as zeroes. This is because the script must have either of the if blocks true, which almost never happens:

If the blocks are not used, then there will be a 0 as no data has been set to the variable.
cupcake1502
Scratcher
100+ posts

I need help with an ASCII converter.

pkhead wrote:

you're putting it in the “ascii” list instead of the “ascii encoded” list lol

also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
yeah, i fixed it
cupcake1502
Scratcher
100+ posts

I need help with an ASCII converter.

awesome-llama wrote:

pkhead wrote:

you're putting it in the “ascii” list instead of the “ascii encoded” list lol

also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
It is shared but the URL is wrong as there is a bracket in it.

One of the issues, like pkhead said was that the output is being put in to the wrong list so you can't see it.
There is another problem as well, where the data is only being output as zeroes. This is because the script must have either of the if blocks true, which almost never happens:

If the blocks are not used, then there will be a 0 as no data has been set to the variable.
i also fixed this
3-mini-gs
Scratcher
33 posts

I need help with an ASCII converter.

what em 32 is space

Powered by DjangoBB