Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local class
Message
 
À
09/09/2003 18:51:54
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00827656
Message ID:
00827820
Vues:
16
Your welcome

>That worked. Thanks
>
>>James,
>>there are two ways to handle this situation
>>
>>#UNDEFINE loTmp
>>LOCAL ...
>>#DEFINE loTmp
>>
>>OR
>>
>>#DEFINE loTmp
>>#IF
>>LOCAL ...
>>#ENDIF
>>
>>
>>Tracy
>>
>>>Hi Tracy
>>>
>>>So are you saying that having more than one local in a prg in not possible. See code.
>>>
>>>
>>>DEFINE CLASS aMngResellers AS abizmanager OF bizmanager.prg
>>>
>>>PROCEDURE RefreshResellers(lcPK)
>>>
>>>	LOCAL loTmp as abizmanager OF bizmanager.prg
>>>	#define loTmp
>>>
>>>	WITH this
>>>		lotmp.getreseller(lcPk)
>>>		
>>>	ENDWITH
>>>ENDPROC
>>>
>>>PROCEDURE RefreshCustomers()
>>>
>>>	LOCAL loTmp as abizmanager OF bizmanager.prg
>>>	#define loTmp
>>>
>>>ENDPROC
>>>
>>>PROCEDURE RefreshProjects()
>>>
>>>
>>>ENDPROC
>>>
>>>PROCEDURE RefreshWorkorders()
>>>
>>>
>>>ENDPROC
>>>
>>>ENDDEFINE
>>>
>>>
>>>>>Hi All
>>>>>
>>>>>I thought I used to be able to do this in version 7.0 but now I get a syntax error when I save. What am I doing wrong? Thanks
>>>>>
>>>>>
>>>>>#define loTmp
>>>>>LOCAL loTmp as abizmanager OF bizmanager.prg
>>>>>
>>>>
>>>>
>>>>reverse the order
Tracy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform