Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Long time BASIC programmer now using thinBasic

  1. #11
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    160

    Re: Long time BASIC programmer now using thinBasic

    Hello Bradley

    Here is a simple example using

    TBGL_Periodic function
    Entity system
    Display List
    Texture

    once the screen is built its just a case of changing the texture of the entity, the textures are a free set of IEC symbols which need some tweaking but good for an example.
    Attached Files Attached Files
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  2. #12
    Member zlatkoAB's Avatar
    Join Date
    Apr 2008
    Age
    55
    Posts
    287
    Rep Power
    45

    Re: Long time BASIC programmer now using thinBasic

    It looks that this zip file is broken i cannot open this in 7zip
    archiver?

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

    Re: Long time BASIC programmer now using thinBasic

    Hi Zlatko,

    it seems there is problem with every ZIP attachement lately, I think it might be because of the recent forum database problem.
    ZIP files hosted on the thinBasic server, but not bound to forum system, can be downloaded without single problem.

    Before this gets fixed, I would like to offer "attachement on demand" service - email me the ZIP you need to attach here, I will upload it to my website, sending you link back.
    I cannot guarantee I will react immediately, but will try. The email address is petrschreiber@thinBasic.com.

    Another option is using free file hosting servers and again placing link here.


    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

  4. #14
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    160

    Re: Long time BASIC programmer now using thinBasic

    Just a quick test its a 7z with a .rar extension so just rename - the .rar
    Attached Files Attached Files
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  5. #15
    Member zlatkoAB's Avatar
    Join Date
    Apr 2008
    Age
    55
    Posts
    287
    Rep Power
    45

    Re: Long time BASIC programmer now using thinBasic

    Again is broken ,try use some free file hosting or if you maby have
    website put them there...

  6. #16
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    160

    Re: Long time BASIC programmer now using thinBasic

    This should fix the download problem it seems to be adding an extra character at the start of the file.

    [code=thinbasic]
    Uses "FILE","UI"

    Dim FileName As String
    Dim Buffer As String
    Dim FileHandle As DWord
    Dim Status As DWord
    Dim sFilter As String = "All Files (*.*)|*.*"

    FileName = Dialog_OpenFile(0, "Open a file", DIR_GetCurrent, sFilter, "tBasic", _
    %OFN_FILEMUSTEXIST Or %OFN_HIDEREADONLY Or %OFN_ENABLESIZING)

    FileHandle = FILE_Open(FileName, "BINARY") ' Open file for reading
    Status = FILE_Seek(FileHandle, 2) ' Set the current read position to 2nd byte in the file
    Buffer += FILE_Get (FileHandle, FILE_LOF(FileHandle)-1) ' Length of file -1
    Status = FILE_Close(FileHandle) ' Release File
    Buffer += Chr$(0) ' add last byte

    Status = FILE_Save(FileName, Buffer)

    MsgBox 0, Filename+" Should be fixed now "

    [/code]
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Looking 4 Thinbasic programmer in Phoenix for project
    By tstevens96 in forum Shout Box Area
    Replies: 6
    Last Post: 21-01-2007, 01:15

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
  •