Hi Bill,
thats me in the morning with two faces ::)
::(.
I will start with the good news
LPARAMETERS Para1,Para2
LPARAMETERS;
Para1,;
Para2
will do the job in my foxpro, even without the leading * * * PROCEDURE.
Until now I never used PARAMETERS.
And now the bad news.
tho whole thing fails if you code like:
LPARAMETERS;
Para1,;
Para2
the space infront of Para1 is important.
and now the harder one
If the result of inheritance (the line to display on top of empty method) exeeds a total number of charactwer somwhere larger 230 [my guess is 255, but untested] I receive a C0000005 error.
AGNES
>Hi Agnes,
>Sorry this took so long.
>I don't know why it's not working for you. I know that it worked for me, because I was having the same problem, but it went away once I put spaces between the "* *".
>
>Just to make sure we're both doing the same thing.
>
>1. In parent class method put:
> * * * Procedure myClass.myProcedure()
> LPARAMETERS t1, t2, .....
>2. Open EMPTY sub-class method
>
>I've just tried playing around with it, and it works fine.
>The ONLY problem I saw was that it had to be an EMPTY sub-class method (no comments or anything in the method), and it picked up the LPARAMETERS statement.
>I even tried:
>
>1. Open empty sub-class method and put:
> * * * Procedure ....
> (no longer empty)
>2. Open parent-class method and add "LPARAMETERS...." after the "* * * Proce..." statement.
> * * * Procedure ....
> LPARAMETERS t1 ....
>3. Open sub-class method
> (LPARAMETERS .... does NOT show up)
> (because it's not empty)
>4. In properties window click "Reset to Default" on method.
> (making it empty again)
> (automatically closes edit window)
>5. Double click method in properties window
> (re-Opens method edit window)
> (LPARAMETERS .... shows up)
>
>
>>Hi Bill,
>>I've tested around, but with no success. I've added the "* * * PROCEDURE ..." for test with no help.
>>I've changed me usual format
>>
>>PARAMETERS;
>> Para1,;
>> Para2,;
>>...,;
>> Paran
>>
>>to
>>
>>PARAMETERS Para1, Para2,..., Paran
>>
>>
>>but also this was not of help.
>>
>>This all works fine with 6.0, it works in the beginning of my work with 7.0 but it fades away (sometimes it works, but it approximates zero)
>>
>>Agnes
>>>
>>>Earlier thread pointed out that "*** PROCEDURE ..." as first line of code in parent class prevents "PARAMETERS ..." from appearing in child class.
>>>Putting "* * * PROCEDURE ..." (spaces between astericks) brings it back.
>>>
>>>HTH
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]