Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MortezaRahmaniJRP opened this issue Jul 10, 2020 · 1 comment
Open

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

MortezaRahmaniJRP opened this issue Jul 10, 2020 · 1 comment

Comments

@MortezaRahmaniJRP
Copy link

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
Copy link

uranus commented Jul 10, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants