Example

Subprograms

4

abnuo 2022-06-23 21:46 (Edited)

Update! HASH now adds an extra space if last character of string is same as first, Quick fix but it works.
Library of subprograms, contains:
HASH(S$) - Hashes a string
READSTR(A,N) - Reads N-byte string from memory address A
WRITESTR(A,S$) - Writes string to memory address A

Global variables R and R$ are the return values

Subprograms.nx | Open in app
2022-11-19 19:55
Subprograms.nx | Open in app
2022-11-19 19:55
Subprograms.nx | Open in app
2022-06-23 21:46

was8bit 2022-06-24 05:31

Very nice first program :)


Log in to reply.