Faster peek_ustring() function

new topic     » topic index » view thread      » older message » newer message

This is a faster peek_ustring() function than that in machine.e on SourceForge

global function peek_ustring(atom addr)
atom ptr
	ptr = addr
	while peek2u(ptr) do
		ptr += 2
	end while
	
	return peek2u({addr, (ptr - addr) / 2})
end function


Larry Miller

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu