Amiga-C (154/223)

From:Twelvebullets
Date:18 Aug 2001 at 15:46:03
Subject:[amiga-c] Peek$ing

If I had the following

mem = AllocMem(2000, MEMF_CLEAR | MEMF_PUBLIC);
lock = Open("Ram:test", MODE_OLDFILE);
size = Read(lock, mem, 2000);

How do I read 15 bytes from mem+20 into Char * string. ??

Also,

How do I Poke, Doke and Loke values into mem, using LONG, WORD
and BYTE ?? (the opposite of my "Leeking, Deeking and Peeking" message, i
sent earlier)

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get VeriSign's FREE GUIDE: "Securing Your Web Site for Business." Learn about using SSL for serious online security. Click Here!
http://us.click.yahoo.com/KYe3qC/I56CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/