Log In  
Follow
851523
:: Unfold ::

I'm not entirely sure if this is bug or my mistake, but i can't figure it out.
Basicly I have code that should save what I'm typing (it's the last line) to a var named code.
However if i add a function for deletion it doesn't work properly:
I can still type, however i have to hold for few seconds before it registers key presses, which does not apply for the backspace.
I also figured out, that only the first code will work properly, meaning if i swap the if with the var set, only typing works.

 if stat(31)=="\b" then
   code=sub(code,0,-2)
 end
 code=code..stat(31)

I'd be really happy to know if it's my mistake or a bug.

P#124786 2023-01-24 20:11

:: Unfold ::

Cart #rndflowergarden-0 | 2023-01-23 | Code ▽ | Embed ▽ | No License
1
A thing I made in school

P#124712 2023-01-23 12:15

:: Unfold ::

Cart #jelpilvl2-0 | 2022-12-15 | Code ▽ | Embed ▽ | No License
9

P#122476 2022-12-15 16:07

Follow Lexaloffle:          
Generated 2023-01-27 12:13:48 | 0.056s | Q:15