You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > TOpenCLMtxVec.DisableSelect Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.DisableSelect Method

Prevents calls to Select.

Pascal
procedure DisableSelect;

Prevents calls to Select method. This can be usefull guard when an object is already working on a subrange and the user would like to further subrange an already subranged object.

var a,b: TOpenCLVector; begin CreateIt(a,b,c,d); try a.SetIt(false, [1,2,3,4,5,6,7,8,9]); a.Select(0,2); //a = [1,2] a.DisableSelect; a.Select(2,2); //exception raised here b.Select(a,2,2); //but this will work a.SelectAll; //b is not changed, it still points to [4,5] finally FreeIt(a,b); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!