Step by step instructions: compile a sample program Queens.f1.
Load the project “Samples”. This project can be loaded using
the “Recent Projects” menu option:
In this example we want to compile the file Queens.f1.
To view the file contents, in the project “Samples” click on
the file “Queens.f1”:
The F1 IDE editor will open the file “Queens.f1”.
You can now view, edit and compile the file.
Compile the file by clicking on the “Compile”
button in the toolbar. (You can also compile the file using menu options)
Compilation progress and results are displayed in the message window:
Now that the file “Queens.f1” has been successfully compiled, run the query:
all Queens(8)This will find all solutions for 8x8 chessboard.
First open the query file by clicking on the
The samples query file has several samples related queries already present. Make sure the query you want to execute is not commented out. If so, comment out the uncommented query and uncomment the query you want to run. Alternatively, type in your own query.
Once this is done, compile the query file clicking the “Compile” button.
Once the query is successfully compiled, it is
automatically executed. You will be able to see the query results in a separate “Results” window.
You can repeat the above steps and compile and run
all the samples.