Print2D Data Member Function

Prints the array in 2D. Essentially prints a .CSV into a <StrList>.

Prototype

int32 Print2D( Int64Iterator first, Int64Iterator last, int32 p_nWidth, int32 p_nHeight, StrList p_slInfo )

Parameters

Parameter Type Parameter Name Documentation
<Int64Iterator>firstAn iterator at the start of the range you wish to print.
<Int64Iterator>lastAn iterator at the end of the range you wish to print.
int32p_nWidthThe 'width' of the data. The range specified by the iterators must have a count of width x height.
int32p_nHeightThe 'height' of the data. The range specified by the iterators must have a count of width x height.
<StrList>p_slInfoThe <StrList> that will contain the printed values.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.