07-01-2008, 08:10 PM
Also i often use this function:
Function outb
Good for strings and for binary data.
Example
Macro
Here character codes are in hex
Function outb
;/
function !*ptr nBytes [flags] ;;flags: 1 show characters too
out _s.encrypt(8 _s.fromn(ptr nBytes) "" 1)
if(flags&1)
,str s.all(nBytes*3 2 32)
,int i c
,for(i 0 nBytes)
,,c=ptr[i]
,,if(c<32) continue
,,s[i*3+1]=c
,out s
Good for strings and for binary data.
Example
Macro
Here character codes are in hex