Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

lebao3105/app1cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app1cli

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:)

Build and run

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

Settings (Pascal only)

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.

Download

Get it here.

Screenshots:

image image image image image

About

A simple console application written in Pascal and C#

Topics

Resources

License

Stars

Watchers

Forks

Languages