Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
/ app1cli Public archive

A simple console application written in Pascal and C#

License

Notifications You must be signed in to change notification settings

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. It can:

  • Be a calculator
  • Compare 2 numbers
  • And run it from Terminal:)

Build

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

Switch between languages

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

Download

Get it here.

Screenshots:

image image image image image