I want to have a compiled program load one file with multiple choices for a predicate, i.e. just data that is loaded at run time. I can't find an example of ensure_loaded that tells me how to declare that predicate in the program. Without anything, the compiler gives me "Predicate testdata undefined in source."
What is the proper way to do this?
Thanks, John