Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redefine an array in FLL?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00924598
Message ID:
00933747
Vues:
20
Maybe for NV_PUBLIC, but why for NV_PRIVATE?

MatinJ

PS: Your fll timer is good.

>I always use this technique to make the array for the appropiate size. But before this, you must release it, if it exists:
>
>
>  iNTI=_NameTableIndex(varName);
>  if (iNTI>-1 && _FindVar(iNTI,-1,&loc)) { // array exist
>    _Release(_NameTableIndex(varName));
>  }
>
>
>>Hi Borislav,
>>
>>I don't know..., but you can create new array:
>>
>>// create array
>>locFiles.l_subs = 1;
>>locFiles.l_sub1 = (short) liFiles;
>>locFiles.l_sub2 = 0;
>>
>>if ((lii = _NewVar(lcS, &locFiles,NV_PRIVATE)) < 0)
>>   {
>>   // _NewVar() returns negative Visual FoxPro error number
>>   _Error(lii*-1);
>>}
>>
>>
>>MartinJ
>>
>>>I want to create a FLL, but in my function I need to expand the array passed as parameter to it. How to do that, I will appressiate for any help especialy for some articles to read.
>>>TIA
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform