How do i save a number bigger than 5 digits

3

Software Center 2026-07-02 21:20

I dont know how to do it and i cant figure it out


wryhode 2026-07-02 22:22

first you need to explain what you mean by "saving" the number. there are many ways to do that. you could for instance use POKEL a,v to save- and PEEKL(a) to read back a 4 byte signed integer (-2147483648 to 2147483647). another, more naive way would be to convert the number to a string using STR$(n) and poking each character to memory. then to read it back, you'd need to peek each character and add it to a string, then convert it to a number again.


Software Center 2026-07-02 22:55 (Edited)

It keeps giving me random numbers

Nope.. i have done it thabks


wryhode 2026-07-02 23:09

alright i see! if you want, you could share any relevant part of the code and id gladly look over it for you :)


Log in to reply.