MemblockSHA1

Family: Memblock · One form

What it does

MemblockSHA1 takes memID (an integer), and answers a string. memID is the id of a memblock, the one CreateMemblock returned: it is how the call knows what to act on.

Syntax

MemblockSHA1(memID integer) → string

Parameters

NameType
memIDinteger

Every form returns

string

Example · generated

memblock = CreateMemblock(64)DO  Print(MemblockSHA1(memblock))  Sync()LOOP

CreateMemblock is there to give the call something to act on; MemblockSHA1 is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

43 commands in Memblock