PDA

View Full Version : ARRAY SCAN syntax in help file



DirectuX
28-04-2020, 12:15
In the help file :
ARRAY SCAN (https://www.thinbasic.com/public/products/thinBasic/help/html/array_scan.htm) syntax is not consistent :


Syntax (Standard)



nRec = ARRAY SCAN ArrayVariable([StartIndex]) [FOR nElements] [, COLLATE UCASE], Expression



Syntax (for UDT and fixed strings arrays)



nRec = ARRAY SCAN ArrayVariable([StartIndex]) [FOR nElements], BYTE(StartByte, Length), = Expression



Expression consist of logical relation operator (=) followed by an expression of the same data type of ArrayVariable.



Syntax should be the same everywhere:


nRec = ARRAY SCAN ArrayVariable([StartIndex]) [FOR nElements], BYTE(StartByte, Length), Expression

Petr Schreiber
29-04-2020, 07:48
Thanks for reporting the issue!


Petr

Petr Schreiber
14-12-2020, 21:46
Fixed, will be present in 1.11.7.0 release.