In a program of mine, I want the user to be able to modify certain logtalk
objects o1, o2, o3, ... Therefore, these objects are in a file that the user is
supposed to edit, let us call it 'data.lgt'. On the other hand, the program,
'compiler.lgt', manipulates o1, o2 and o3. Therefore, none of the following
initializations is adequate:
Code: Select all
:- initialization((logtalk_load([compiler, data]))). :- initialization((logtalk_load([data, compiler]))).
What would be the most logtalkish way to avoid such warnings?