>Hi,
>
>Hmmm. I get 0 for nTel1 (which is correct). Docs say "If no databases are open, ADATABASES( ) returns 0 and the array isn't created". Doesn't say an existing array will be destroyed in these circumstances.
>So behaviour is as expected ?
>Regards,
>Viv
>
Yes,
every AXXXXX() function work in this manner:
if none elements are founds none operations is done.
>>Tore, this not fix the issue
>>
>>try
>>
>>CREATE DATABASE TESTdata2005.dbc
>>nTel1 = ADATABASES(laGroep1)
>>
>>?lagroep1(1,1)
>>
>>CLOSE DATABASES
>>
>>nTel1 = ADATABASES(laGroep1)
>>
>>?lagroep1(1,1)
>>
>>? nTel1
>>