Page 1 of 1

Consult does not like class qualifiers. Does it?

Posted: 18 Sep 2015 7:51
by Peter Muraya
Hi,
I moved (by cut and pasting) the following facts from the code to an external file for consulting. There was a runtime problem that I traced to the data:: qualifier. Is that not legal? If not, what would be the reason?

Code: Select all

/* This database keeps track of fields from which a user can infer how data is to be used, i.e., for identifying other data or for describing existing ones.*/ data_use_field_fact(data::name, "name"). data_use_field_fact(data::name, "value"). data_use_field_fact(data::name, "id"). data_use_field_fact(data::title, "title"). data_use_field_fact(data::title, "description").

Posted: 18 Sep 2015 8:24
by Thomas Linder Puls
A saved fact database will never (and may not) contain class qualification. When saving/consulting a file there cannot be any ambiguities and subsequently there are no qualifiers. It could of course be made legal to have them anyway, but we have never really considered this.