excelsior-oss / xds

XDS Modula-2/Oberon-2 programing system.
Apache License 2.0
65 stars 17 forks source link

how to compile and run Oberon-2 script file #1

Open MortezaRahmaniJRP opened 4 years ago

MortezaRahmaniJRP commented 4 years ago

Hello, I can compile and run modula-2 via xc.exe of xds but can't compile and run oberon-2, help me please. xc =make <path to file.mod>

uranus commented 4 years ago

Just use .ob2 extension for Oberon-2 modules and don't forget the pragma < MAIN+ > in the main module. xc =m