App1 (or app1cli) is a simple project written in C# and Pascal (they are different versions). It can:
- Be a calculator (C# only)
- Compare 2 numbers (C# only)
- Give you, or your kids, a question to answer (Pascal only)
- And run it from Terminal:)
Requirement(s):
- git - optional as you can download the source code as a zip
- fpc (Free Pascal Compiler) for the Pascal version
- make - optional, for the Pascal version
- .NET SDK 6 for the C# version
Just run the following command in the Pascal subdirectory:
make
Or (still inside Pascal/):
# Use add_languages.bat if on Windows instead of the line below
add_languages.sh
fpc app1.pas
Run the executable named app1.
For C# version (which is obviously outdated), simply run these inside CSharp/:
dotnet run
# build only
# dotnet build
Create a settings.json in the folder where the executable exists.
The JSON schema is here. Read it and write wanted settings into settings.json.
Start the application. It should work.
Get it here.