Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters in methods (BUG)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00536092
Message ID:
00536132
Vues:
25
>>It is very common for me (and I am sure other people too) to insert a comment block in procedures, functions, and methods before any other code goes.
>>
>>In this case LPARAMETERS does not get copied in subclass methods and it does not go to type library.
>
>I'm not seeing this. Can you email a simple example, and the steps to reproduce the problem?

Actually, this is very funny...
This happens only if you have more than one * (star) before the LPARAMETERS

We use MereMortals framework that has the following method header

*---------------------- Location Section ------------------------
* Library: KExecutant.vcx
* Class: KExecutant
* Method: Requery()
*----------------------- Usage Section --------------------------
*) Description:
*) Retrieves the data specified for the cursor

* Scope: Public
* Parameters:
* 1. tcXMLQuery - XML Query string
*$ Usage:
*$
* Returns: Variant - Data in ADO or XML format
*--------------------- Maintenance Section ----------------------
* Change Log:
* CREATED 09/14/00 - KJM
* MODIFIED
******************************************************************
LPARAMETERS tcXMLQuery

See this multi-star line before LPARAMETERS? Take it out and all works OK.
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform