Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RELEASE ALL EXTENDED LIKE -- not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008469
Message ID:
00008543
Vues:
36
>>Mark
>>
>>Release all like m.*
>
>Tom, I'm sorry to beat this horse to death, but I'm still confused. The info in VFP Help implies that EXTENDED is an optional parameter that should be allowed with the LIKE clause (i.e., it's not a one-or-the-other situation). From Help:
>
>RELEASE ALL [EXTENDED]
> [LIKE Skeleton | EXCEPT Skeleton]
>
>Arguments
>
>RELEASE ALL
>
>Releases from memory all memory variables and arrays.
>
>EXTENDED
>
>When issued in a program, specifies that all public variables are released. RELEASE ALL, RELEASE ALL LIKE, or RELEASE ALL EXCEPT do not release public variables when issued in a program.
>
>(Tom: Does this mean that EXTENDED can or cannot be used with the LIKE clause? Note what it says about releasing public memory variables within a program. I need to do exactly that.)
>
>LIKE Skeleton | EXCEPT Skeleton
>
>Releases from memory all memory variables and arrays that match the specified skeleton, or all memory variables and arrays except those that match the specified skeleton. Skeleton can include the wildcards ? and *.

EXTENDED is meant to be run within a program. Dopey me one time forgot to include extended in a program & could not figure out why my form objects were not releasing.

According to the Hacker's guide only the first one specified is honored. If Extended is first then all are released. If Like is first then only it is recognized. To release only sone public memvars you must list each public memvar to be released.

HTH
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform