incbinlen.bmx 268 B

123456789101112
  1. Rem
  2. IncBinLen returns the size in bytes of the specified embedded binary file.
  3. End Rem
  4. incbin "incbinlen.bmx"
  5. local p:byte ptr=IncBinPtr("incbinlen.bmx")
  6. local bytes=incbinlen("incbinlen.bmx")
  7. local s$=StringFromBytes(p,bytes)
  8. Print "StringFromBytes(p,bytes)="+s$