Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.78 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.78 KB

ThinBasic.NET

.Net Wrapper for ThinBasic Programming Language.

GitHub Nuget Travis-Ci Codacy Badge

Environment

  • Windows 7 above (recommend)
  • ThinBasic 1.13
  • .NET 9

NuGet Installation

PM> Install-Package ThinBasic.NET

How to Build

Building requires Visual Studio 2022 Community and test under Windows 10.

Example

string scriptPath = @"Sample\test.tbasic";
string scriptBuffer = File.ReadAllText(scriptPath, Encoding.UTF8);

int bufferType = (int)Enums.BufferType.IsScript;
int callingProgram = (int)Enums.CallingProgram.GUI;

int hThinbasic = Thinbasic.Init(0, 0, "thinbasic");
int result = Thinbasic.Run(hThinbasic, scriptBuffer, bufferType, 0, 0, 0, 0, callingProgram, 0);
Thinbasic.Release(0);

License

Copyright (c) 2017-2024 Ji-Feng Tsai.
ThinBasic Copyright (c) Eros Olmi ThinBASIC Interpreter.
Code released under the MIT license.

TODO

  • More Functions defined in thinCore.dll
  • More examples

Donation

If this application help you reduce time to coding, you can give me a cup of coffee :)

paypal

Paypal Me