B.2 Console statements
The following statements are used to print on the BayES console or clear the console.
Syntax | Arguments and performed function |
clc(); | Clears the BayES console.
|
Prints A on the BayES console. A could be any of the following data types:
If A is a string and c (if provided) is a
vector of values between 0 and 1, then the string is printed on the BayES
console in the color defined by the values in c, in a red-green-blue (rgb) scale.
|
|
who(A); | When the function is called without an argument it prints on the BayES console a list of the id values of items in memory in the current workspace. If A is provided then it prints a list of the elements/variable names of A. These items/elements are reported first by data type in the following order:
and then alphabetically, according to their id value.
|