1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with bpoke

Discussion in 'Support' started by Jim Cook, Jun 9, 2010.

  1. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    605
    Likes Received:
    0
    TCC 11.00.49 Windows XP [Version 5.1.2600]
    TCC Build 49 Windows XP Build 2600 Service Pack 3

    I believe bpoke should be putting eight zeroes in, but does not. Am I
    missing something? I've verified using bwrite to a file with the same
    results from bpeek, and also bpeek as 4 & 4 instead of 8 shows the same
    results.

    set buf=%@balloc[8]
    set res=%@bpoke[%buf,0,8,0]
    echo %@eval[%@bpeek[%buf,0,8,0]=h]
    set res=%@bfree[%buf]


    --
    Jim Cook
    2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Monday.
     

Share This Page