mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Logtalk test file
This commit is contained in:
9
test/fixtures/foo.lgt
vendored
Normal file
9
test/fixtures/foo.lgt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
% this is a Logtalk source file
|
||||
|
||||
:- object(hello_world).
|
||||
|
||||
% the initialization/1 directive argument is automatically executed
|
||||
% when the object is loaded into memory:
|
||||
:- initialization((nl, write('********** Hello World! **********'), nl)).
|
||||
|
||||
:- end_object.
|
||||
Reference in New Issue
Block a user