App1 (or app1cli) is a simple project written in C# and Pascal. It can:
- Be a calculator
- Compare 2 numbers
- And run it from Terminal:)
Requirement(s) - only fpc needed now:
- git to clone the repository (or get source code from the repository releases)
- fpc (Free Pascal Compiler)
- .NET SDK 6 to build C# edition
Just run the following command in source_code_root/Pascal:
fpc app1.pas
Since version 1.3, gettext support has been added to the project. Install gettext and make, then:
make gen_mo
make build
Only do this on *NIX.
If you don't want install these packages, you still can checkout steps in Changing languages section.
For C# version, simply run these in CSharp folder:
dotnet run
# build only
# dotnet build
There are 2 languages: Vietnamese and English (Default). You can change language manually by changing resource to lang_en (English) or lang_vi (Vietnamese) from uses clause in these files:
Since version 1.3, please add -Fulangs
parameter to fpc, like this:
fpc app1.pas -Fulangs
Get it here.