Usage Guide for Lang 27

Running a Lang 27 Script

To execute a Lang 27 script, follow these steps:

Windows

  1. Open Command Prompt.
  2. Navigate to the directory containing your script: cd path\to\your\script
  3. Run the script using: lang27 script.lip

Linux

  1. Open Terminal.
  2. Navigate to the directory containing your script: cd /path/to/your/script
  3. Run the script using: lang27 script.lip

Example Script

Create a file named example.lip with the following content:

num x = 10
num y = 20
drucken("Sum:")
drucken(x + y)

Run the script as described above to see the output.

Debugging Mode

To run a script with debugging enabled, use:

lang27 --debug=true script.lip

This will print additional details to help diagnose errors.

Checking Installed Version

To check your installed version of Lang 27, run:

lang27 --version