Re: Case Statement

2006-08-18 Thread Michael Hawksworth
What a muppet, they are supposed to be .f., put them in the wrong way in my intelisense script. However that doesn't explain how I can get it to run both the 'case' statement and the 'otherwise' which is not supposed to be possible. I will try to find a more generic example that fails. -- M

RE: Case Statement

2006-08-18 Thread Jim Winter
> > Are the VarType() commands supposed to have the .T. in it to guess it's an > Object, or a .F. to return the "X" instead? > > Tracy > .F., which is the default, to return "X" for a null value. Regards, Jim ___ Post Messages to: ProFox@leafe.com

RE: Case Statement

2006-08-18 Thread Tracy Pearson
Are the VarType() commands supposed to have the .T. in it to guess it's an Object, or a .F. to return the "X" instead? Tracy > -Original Message- > From: Michael Hawksworth > Sent: Friday, August 18, 2006 6:39 AM > Subject: Case Statement > > > Could you try running this code and see if

RE: Case Statement

2006-08-18 Thread Sietse Wijnker
Hi Michael, I've tried to upset your code, but am unsuccessfull in recreating the situation you describe However, I can take an educated guess on why the case-statement did only execute the otherwise while you'd expect it would: VARTYPE(varname, .T.) will return the type that a variable or propert