Email or username:

Password:

Forgot your password?
Top-level
alex

@neauoire thanks! I had a much more verbose solution but was able to cut it down as I learned more

do you know a better way to do filespace 1 fileread filespace c@? (read 1 byte and push to the stack)

and also, > 0<> 1+ ? (It seems that > returns 257 instead of -1 for some reason?)

2 comments
Devine Lu Linvega

@aw Ah yes, the docs say "Words that produce boolean results may not always generate -1(`true`) but some other non-zero value."

It makes sense I suppose

Go Up