Both of those problems are easy to solve. Set property LastCharacter to the last key pressed (easy with blocks) and every time a key is pressed, add one to property StringLength.
16 spaces instead of the full 40. Thatβs still like 100 properties, though.
And then thereβs things like rentβ¦
luckyβ¦β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Here, I prototyped this system that stores next as number code in a number property like 990805121215 in Desmos. It should be possible to do this in creative!
Gimkit creative doesnβt have a mod function, but it is possible to recreate one.
How about Property A is the dividend, and property b is the divisor. If A-B>0, subtract B from A and set a to the answer. Then broadcast on channel O. When a trigger is triggered on channel O, send a wire pulse to the original block. Repeat this until A-B is not greater than zero.
Whatever A is should be C (mod B)
No thereβs a cleaner solution:
When mod(A, B)
A - floor(A/B)B
Huh? That is dense. Can you explain what it does?
So mod is the remainder of a/b, right?
So, by dividing by a by b, flooring the result, and multiplying that by b, we get the nearest multiple of b that is less than a. Then we subtract it from the original number to get the remainder.
Whatβs the floor function?
The floor function, or greatest integer function, rounds a rational number down to the greatest whole number.
Gimkit has the floor function?
Itβs called round down, but yeah
So you figured out how to make the backspace key?
Yeah, the only unknown is that you might have to distribute the string of text over multiple properties, since properties can only store numbers that arenβt too big.
Maybe we could divide the property by a really large multiple of 10, to turn the large property into a really accurate property