-
Book Overview & Buying
-
Table Of Contents
Learn Bosque Programming
By :
There are a number of text conventions used throughout this book.
Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We have the ApplicationContext entity, which holds two fields: emailServiceEnabled and user."
A block of code is set as follows:
let context = ApplicationContext@{
emailServiceEnabled = false, user = user
};
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
entrypoint function main(): String { let user = User@{ name = "John Doe", id = 1 }; var context = ApplicationContext@{ emailServiceEnabled = false, user = user }; context = enableEmailService(ref context);
return sendEmail(context);}
Any command-line input or output is written as follows:
$ symtest ai-classifier.bsq -e "NSMain::run"
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If you don't have it in the first list, you can either create a new variable named Path using the New… button or you can find it in the System variables list."
Tips or important notes
Appear like this.