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

Fixed @FILEWRITEB

Discussion in 'Support' started by vefatica, Feb 8, 2015.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    Here's v16, which seems correct.
    Code:
    v:\> del 178.txt
    Deleting V:\178.txt
      1 file deleted
    
    v:\> set h=%@fileopen[178.txt,w,b]
    
    v:\> echo %@filewriteb[%h,-1,0xB2]
    1
    
    v:\> echo %@fileclose[%h]
    0
    
    v:\> type /x 178.txt
    0000 0000 b2  ▓
    Here's v17, which seems incorrect.
    Code:
    v:\> del 178.txt
    Deleting V:\178.txt
      1 file deleted
    
    v:\> set h=%@fileopen[178.txt,w,b]
    
    v:\> echo %@filewriteb[%h,-1,0xB2]
    3
    
    v:\> echo %@fileclose[%h]
    0
    
    v:\> type /x 178.txt
    0000 0000 00 ff b2  .ÿ²
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    And once I get that byte in a file, v16 TYPEs it like this
    Code:
    v:\> type 178.txt
    ▓
    v:\>
    while v17 TYPEs it like this
    Code:
    v:\> type 178.txt
    ²
    v:\>
     
  3. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    Noted? Fixed?
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,870
    Likes Received:
    83

Share This Page