Skip to content

ASCII 0 issue #105

@chrisws

Description

@chrisws

Please fix with ASCII 0 or chr$(0)
Detected as nothing on string arrays

Example: a$=chr$(0)+chr$(1)+chr$(0)+chr$(255) count=len(a$) print "a$ length =",count for i=1 to count print "[",asc(mid$(a$,i,1)),"]", next i Result: a$ length = 2 [ 1 ] [ 255 ]

And when I use TLOAD from file to the string array ( TLOAD "binary.dat",a$,1 ).

It can contain the ASCII 0 as like on the file perfectly. And when I give to another string array or modify the current string array, all the ASCII 0 is gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions