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.
@Eros or @Petr: When should I use the .tbasicu file extension instead of the normal .tbasic one?
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/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
So it hasn't really any functionality behind it?
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/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Thanks Eros for the explanation. That is good enough for me.
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 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thanks Petr, good to know.
Bookmarks