Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redefine an array in FLL?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00924598
Message ID:
00933747
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform