You are here: Symbol Reference > MtxForLoop Namespace > Functions > MtxForLoop.DoWhileLoop Function
MtxVec VCL
ContentsIndex
PreviousUpNext
MtxForLoop.DoWhileLoop Function

Call this function to initiate threaded while loop.

Pascal
function DoWhileLoop(MyLoop: TWhileLoopFunEvent; Threads: TMtxForLoop; const Context: array of TObject): boolean; overload;

The MyLoop method pointer must be a method (of object). This is the function that will be called until Stop parameter of MyLoop will be True. Threads parameter requires a TMtxForLoop object and Context can be used to pass any parameters to the threaded function.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!