Results 1 to 4 of 4

Thread: Big trouble with FILE module

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Big trouble with FILE module

    Hi Roberto,

    I have serious problem here

    Try to make EXE from following script:
    [code=thinbasic]
    Uses "FILE"
    FILE_LOAD("")
    [/code]

    When I will execute it it will say "FILE_LOAD is unknown keyword".
    If I run this script from thinAir it works ok,
    but in thinBundled EXE it doesn't work.

    Bye,
    Petr

    P.S. Sure I added the module to thinBundle module list. I have problem with script which uses TBGL, UI, OS and FILE.
    All modules except FILE are running ok, but when I attempt to FILE_LOAD it crashes with RTE.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2

    Re: Big trouble with FILE module

    Hi Petr,

    I try to replicate the problem but I'm not able understand the trouble.
    Did you run the executable from a different folder than the BUNDLE EXTRACTION FOLDER?
    Please try to run the attached program that runs the following script and let me know.

    [code=thinbasic]Uses "FILE"
    FILE_LOAD("")
    msgbox 0, "Hi" [/code]

    Ciao,
    Roberto

    Attached Files Attached Files
    http://www.thinbasic.com

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Big trouble with FILE module

    Petr,

    it was my fault. I've talked with Roberto and found that the automatic process we have to create a thinBasic distribution was not compiling thinBundle in the correct way. I'm amending the procedure and update current thinBasic again.

    Sorry.
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Big trouble with FILE module

    Hi Eros,

    no problem as my "victim" does have thinBASIC installed
    I was just wondering why it was wrong just with this module.

    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •