The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



WriteToOpenTextFile


Unit: SDL_sdlcolors
Class: TColorArray
Declaration: function WriteToOpenTextFile (var OutFile: TextFile; FirstElem, LastElem: integer): boolean;

The function WriteToOpenTextFile stores the values of the color array in a simply formatted ASCII file. The parameters FirstElem, and LastElem, define the range of the array to be stored in the file. The parameter OutFile specifies an open text file, the color data are written at the current file pointer. WriteToOpenTextFile returns a TRUE value if the color array elements have been stored successfully.

See StoreOnFile for the data format specification.


Last Update: 2014-Aug-13