Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: Cetin Basoz
  Where is Cetin Basoz?
 Cetin Basoz
Subject: RE: Trouble with LPARAMETERS
Thread ID: 155164 Message ID: 155169 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Wednesday, December 26, 2007 6:40:15 PM         

> > Colleagues,
> >
> > either I'm getting senile, have lost any sense and miss/forget something profoundly basic in programming,...
> > ... or there are again some gremlins messing with my machine!
> >
> > Coz I can't recall ever seeing LPARAMETERS (neither PARAMETERS) behave like the following:
> >
> > - I've got a PRG, which I run off the Command window;
> >
> > - This PRG's first line is
LPARAMETERS tcParam, tdParam1, tdParam2

> > and I put SET STEP ON after this line;
> >
> > - I do, off the Command window
SET PROC TO [FullPath2MyProc\MyProc.PRG]

> > - and then
=MyProc(SomeString, {^2000/01/01}, {^20078/01/01})

> > ... and when it stops in debugging mode - ain't no none of them PARAMETERS is listed in the Locals window in Debugger - ?!?!?!?! (And, of course, the rest of the program behaves accordingly coz I ain't no fool and took precautions just for such case, i.e IF VARTYPE(tcParam1) # "C" etc.)
> >
> > So, does anyone here have any idea why the bleep my PARAMETERS are getting lost?
> >
> >
> > Regards,
> >
> > Ilya
> Ilya,
> I suspect running 'myproc' is not the 'myproc' you think. In debugger do you see that "lparameters ..." line and when you hover the mouse over parameters the values you passed? Is there a function named myProc in myProc.prg which have different names for its parameters?
> Cetin Basoz

Thanks for such prompt response, colleague!

Yes, Cetin, I do see this line LPARAMETERS with all 3 parameters listed, and - no, I do not even see that tooltip-like yellow little window when I hover the mouse pointer over these parameters in debugger.

And it's just pure-vanilla (even linear, if you know what I mean) PRG with no subroutines in it whatsoever. (I am starting to become senile, perhaps, but I'm not that senile yet, he-he! (:>) )




Trouble with LPARAMETERS Posted by Ilya Rabyy @ 12/26/2007 6:10:40 PM
RE: Trouble with LPARAMETERS Posted by Cetin Basoz @ 12/26/2007 6:26:19 PM
RE: Trouble with LPARAMETERS Posted by Ilya Rabyy @ 12/26/2007 6:40:15 PM
RE: Trouble with LPARAMETERS Posted by suhas hegde @ 12/26/2007 6:45:31 PM
RE: Trouble with LPARAMETERS Posted by Ilya Rabyy @ 12/26/2007 7:02:32 PM