Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Is there a way in Javascript to read either a Byte, String or Short from a data file?

I am converting some old Code and want to try and replicate loading data files using Bytes, Shorts and Strings as the data for various things.

WriteString(levfile,levdesigner$(l))
WriteString(levfile,levcreation$(l))
WriteString(levfile,levlastsave$(l))
WriteByte(levfile,levprotect(l))
WriteString(levfile,levnam$(l))
WriteByte(levfile,levdim(l,0))
WriteByte(levfile,levdim(l,1))
For y=0 To levdim(l,1)-1
    For x=0 To levdim(l,0)-1
        WriteShort(levfile,map(l,x,y))
    Next
Next

levfile is the name of the data file

Above is the old code i used to write the data file, is there anything equivalent in javascript?

So if i store a TEXT file on ther server with this saved structure, can you read it from the file on the server?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!