Set proc wouldn't help (keep it) but add local x ... for intellisense. When you're done you'd comment them (and remove x. from code).
Cetin
>I tried that, to no effect. I inserted those two lines into my PROC, one at the beginning and one at the end. The PROC is in my SET PROC list.
>
>Now what? Nothing happens.
>
>Jim
>
>>Jim,
>>But still you can utilize it. During development temporarily add:
>>
>>define class myProcs as custom
>>* procedures
>>enddefine
>>
>>to your procs. prg. When done you could simply comment those two lines.
>>Cetin
>>
>>>And I take it by your reply that Intellisense doesn't apply to PROCs within a PRG.
>>>
>>>Ah, well, it was a nice thought / Jim
>>>
>>>
>>>>Oh you mean it was a single prg with Procedure(s) in it. I got it wrong then.
>>>>Cetin
>>>>
>>>>
>>>>>Cetin --
>>>>>
>>>>>While this looks valuable (and is presumably preferable to using PRGs with multiple PROCs?), it doesn't help much with my current applications which use PRGs with PROCs. I was just hoping intellisense could help me in some way (without requiring me to re-structure the existing application -- I'd need a stronger reason than this to do so.)
>>>>>
>>>>>Jim
>>>>>
>>>>>
>>>>>>
>>>>>>* MyClassLib.Prg
>>>>>>define class myClass as custom
>>>>>>procedure myProc
>>>>>>lparameters p1 as string, p2 as integer
>>>>>>endproc
>>>>>>enddefine
>>>>>>
>>>>>>
>>>>>>In any code window (or command):
>>>>>>
>>>>>>
>>>>>>local x as "myClass" of "myClasslib.prg"
>>>>>>*x = NewObject("myClass","myClasslib.prg")
>>>>>>*with or w/o writing NewObject(), CreateObject() intellisense is in effect
>>>>>>x.
>>>>>>x.myProc(
>>>>>>
>>>>>>Cetin
>>>>>>
>>>>>>>Cetin ...
>>>>>>>
>>>>>>>Something I'm missing here ... I have a PRG named StdProcs.PRG. It's in my SET PROC list. Using your suggestion, I can't seem to get anything from intellisense, either in the command window, or in a PRG.
>>>>>>>
>>>>>>>Where am I supposed to put the first line of text you suggested? (It looks completely unfamiliar to me.)
>>>>>>>
>>>>>>>Thanks
>>>>>>>
>>>>>>>Jim
>>>>>>>
>>>>>>>>>Is there a way to get Intellisense to remind me of the parameters to procedures defined in a PRG which is in my "SET PROC" list? (the same way that it will for methods when I do something like
thisform.myMethod(
>>>>>>>>>Thanks
>>>>>>>>>Jim
>>>>>>>>
>>>>>>>>local x as 'class' of 'classlib.prg'
>>>>>>>>x.myProc(
>>>>>>>>
>>>>>>>>Cetin