General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>>Can you test for how many elements are in an array? I need to test if the array has more than 1 element after being loaded from a table.
>
>ALEN()
This will give you the array size. However, if the array is defined (LOCAL ARRAY ...) then by default it will have at least a single row (values initialized to .F.). When ALEN(laArray,1) returns a size it will be at least one for row size but this may not be correct if no records were loaded -- you need to test the contents as well for data type.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only