Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Override method parameter
Message
De
28/10/2011 09:06:29
 
 
À
28/10/2011 03:28:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01527418
Message ID:
01527526
Vues:
80
>>>>It looks like SetFormat is reserved word. You shoul come up with another name for the method.
>>>
>>>I solved the problem using SetFormat_() , no big deal. but I just want to add this info :
>>>
>>>Other than that SetFormat is reserved word (which is true) but it seem that is not the only reason
>>>
>>>If I used a procedure name ClearData() or or Setfocus() the parameter displayed by the intellisense is wrong.
>>>
>>>While if I used Setup() or SetVar() which are also reserved word, the parameter displayed by the intellisense is correct.
>>>
>>>There is something else effecting on the intellisense.
>>
>>SetFormat is a VFP9 function, check with the updated help at http://vfpx.codeplex.com/wikipage?title=VFP%209%20SP2%20Help%20File&referringTitle=Home
>
>Thank you for the link for new updated help file.
>
>Even in the updated help they mention it as (Method, Reserved word), not as Function, If by function you mean like LEN(), well, SetFormat() return nothing and cannot be used.

In my head, a method and a function is the same, although in reality they are not. Sorry for the mixup.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform