|
ArrayPrint
Prints an array of a simple type or a simple structure into journal.
void ArrayPrint(
|
Parameters
array[]
[in] Array of a simple type or a simple structure.
digits=_Digits
[in] The number of decimal places for real types. The default value is _Digits.
separator=NULL
[in] Separator of the structure element field values. The default value NULL means an empty line. A space is used as a separator in that case.
start=0
[in] The index of the first printed array element. It is printed from the zero index by default.
count=WHOLE_ARRAY
[in] Number of the array elements to be printed. The entire array is displayed by default (count=WHOLE_ARRAY).
flags=ARRAYPRINT_HEADER|ARRAYPRINT_INDEX|ARRAYPRINT_LIMIT|ARRAYPRINT_ALIGN
[in] Combination of flags setting the output mode. All flags are enabled by default:
Return Value
No
Note
ArrayPrint() does not print all structure array fields into journal – array and object pointer fields are skipped. These columns are simply not printed for more convenient presentation. If you need to print all structure fields, you need to write your own mass print function with the desired formatting.
Example:
//--- print the values of the last 10 bars
|
See also