Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

217
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda