Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

153
Visualizações
How to process one huge .js file or view as an hierachy model and modify the contents

The big .js file contains >8 million lines with all of the following commands. No class information is available since the file was exported from a software.

Is there any simple way to listing/classifying view the contents and do some batch modification?

    var Project = MainProg.createTask()

    var Budget = Project.createDoubleVariable()
    Budget.name = "Department"
    Budget.value = 10000.0

    Project.doubleVariables.add(Budget)

    var Team = Project.createIntegerVariable()
    Team.name = "Gold"
    Team.value = 11

    Project.integerVariables.add(seed)

    var file1 = Project.createStringVariable()
    file1.name = "File1"
    file1.value = "C:\\WorkDir\\Task2022\\...."

    Project.stringVariables.add(file1)

    var resultcontainer = Project.createResultContainer()
    resultcontainer.name = "Results"

    var property = Project.createProperty()
    property.key = "condition"
    property.value = "Initial"

    resultcontainer.properties.add(property)

    var property_2 = Project.createProperty()
    property_2.key = "task"
    property_2.value = "Summer2022"

    resultcontainer.properties.add(property_2)

    var property_3 = Project.createProperty()
    property_3.key = "TeamHours"
    property_3.value = "20.0 [h]"

    resultcontainer.properties.add(property_3)

    .....
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda