Results 1 to 7 of 7

Thread: When should I use the tbasicu file extension?

  1. #1
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339

    Question When should I use the tbasicu file extension?

    @Eros or @Petr: When should I use the .tbasicu file extension instead of the normal .tbasic one?
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,171
    Blog Entries
    2
    Rep Power
    10
    eh ...
    Better Petr will reply, it was his invention
    In any case i think tbasicu stands for thinBasic UNIT that is an include file auto sufficient that means it has no external reference and can be re-used in different situations.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339
    So it hasn't really any functionality behind it?
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,171
    Blog Entries
    2
    Rep Power
    10
    So far not other than thinAir/thinBasic will not execute them directly.
    Having a kind of UNIT/Single/independent piece of code that can become a library is not bad
    Maybe something for future.

    I know Petr is using such file very often and is not bad at all. Every tbasicu can be considered "portable" in other projects.
    Last edited by ErosOlmi; 10-10-2017 at 20:26.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  5. #5
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339
    Thanks Eros for the explanation. That is good enough for me.
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,790
    Blog Entries
    3
    Rep Power
    693
    Basically,

    .tbasicU files contain functions with implementation and or types (with type functions or without).

    .tbasicI files I use then for declares of DLL functions, for example.


    Petr
    Last edited by Petr Schreiber; 12-10-2017 at 07:20.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  7. #7
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339
    Thanks Petr, good to know.
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

Similar Threads

  1. tHeap + extension tTypedHeap
    By ReneMiner in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 2
    Last Post: 21-06-2015, 16:25
  2. making Subs/Functions private to .tBasicU-file?
    By ReneMiner in forum thinBasic General
    Replies: 5
    Last Post: 15-02-2013, 20:44
  3. ScriptBasic GSL extension module
    By John Spikowski in forum Scripting
    Replies: 0
    Last Post: 30-05-2011, 01:52
  4. Windows 7, 64bit - no extension connection, no edit
    By Petr Schreiber in forum Installation
    Replies: 3
    Last Post: 04-09-2010, 12:42

Tags for this Thread

Posting Permissions

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