Initialise SWI-Prolog
The write method of the output stream is redirected to SbsSW.SwiPlCs.Streams before Initialize. The read method of the input stream just after Initialize.
- argv (array< String >[]()[])
-
For a complete parameter description see the SWI-Prolog reference manual section 2.4 Command-line options.
sample parameter:
CopyC#At the first position a parameter "" is added in this method. PL_initialiseString[] param = { "-q", "-f", @"some\filename" };
A known bug: Initialize work *not* as expected if there are e.g. German umlauts in the parameters See marshalling in the sorce NativeMethods.cs
For an example see PlEngine