mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
corrected hello world
This commit is contained in:
parent
a3543e94da
commit
42bc0486b6
1 changed files with 3 additions and 2 deletions
5
documents/Programmierparadigmen/scripts/prolog/hello-world.pl
Normal file → Executable file
5
documents/Programmierparadigmen/scripts/prolog/hello-world.pl
Normal file → Executable file
|
@ -1,2 +1,3 @@
|
|||
:- initialization(main).
|
||||
main :- write('Hello World!'), nl, halt.
|
||||
#!/usr/bin/swipl -q -t main -f
|
||||
|
||||
main :- writeln('Hello world!').
|
Loading…
Add table
Add a link
Reference in a new issue