I don't believe Eros has released any information about any possible parameters but a quick test proved that passing the script name will execute it.
thinbasic test.tbasic
Hi, I am just new man to thinBasic.
Where can I get any information about the parameters for both thinBasic.exe and thinBasicc.exe ?
For example: under dos console, if we type dir /? , then it would show all
the parameters for the command "dir" out on the screen.
I don't believe Eros has released any information about any possible parameters but a quick test proved that passing the script name will execute it.
thinbasic test.tbasic
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
I think the following should work:
Executing script file (as Mike wrote):
thinBasic.exe <script name>
Executing debugger on passed script:
thinBasic.exe @D <script name>
Creating obfuscated version of the script (tBasicX file):
thinBasic.exe @O <script name>
Petr
Last edited by Petr Schreiber; 07-03-2012 at 10:29.
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
Petr is correct.
They will be listed in help file in next thinBasic release.
Just to repeat, full thinBasic syntax is the following:
thinBasic.exe [execution flags] <Script file name> [Optional parameters]
where [execution flags] can be one of the following
- @D
Debug mode: the script will be executed in debug mode showing thinbasic debug window. Execution is retained by the debug engine until runtime error or user exiting from debugger.- @O
Obfuscation mode. The script will not be executed but an obfuscated version of the original script will be created in the same directory of the original script. Obfuscated scripts have .tbasicx extension. Execution will immediately return to calling program.- @B
Dependency mode. The script will be partially executed in order to analyse dependant module and include files. A file with the same file name of the original script but with extension .sdep will be created in the same directory or the original script. Execution will immediately return to calling program.
Ciao
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
Many thanks for all your answers!
Bookmarks