Menu

Working with truly huge data files

2020-10-03
2020-10-04
  • Yet Another Troll

    I'm baa-ack! This time, I'm considering using xbasic to read and write files larger than 2GB. What data types do SEEK, LOF(), LOC(), etc. expect? Examples in the manual use 32-bit integers, but perhaps even if they are limited to 2GB, maybe larger files can be read and written if there's no SEEKing around and only EOF() is used to detect the end of input files?

     
  • Markus Hoffmann

    Markus Hoffmann - 2020-10-04

    You can read and write thouse files, but you would not be able to seek into the area >2GB. Maybe with successive RELSEEK in steps. LOF also cannot report the correct file size. You would also contruct a workarount (with RELSEEK). Or: use shell commands to split the file first, then read parts. Or call system sunctions (LINK and CALL) directly....

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.