Re: Why does this #IF not work?

Author: Andy Davies

Posted: 2004-06-04 at 09:31:50

What does this get:

? CEILING(val(left(VERSION(4),2)))

? VARTYPE(CEILING(val(left(VERSION(4),2))))

AndyD 8-)#

vfpmcp@mbsoftwareso

lutions.com To: profoxtech@leafe.com

Sent by: cc:

profoxtech-bounces@ Subject: Re: Why does this #IF not work?

leafe.com

04/06/2004 15:23

Please respond to

profox

Andy,

I get both:

run

run

??????

--Michael

------------------------------------------------

On Fri, 4 Jun 2004 15:04:13 +0100, "Andy Davies"

<a.davies@notes.manchester.gov.uk> wrote:

>

> in vfp7 (in the command window):

>

> #if val(left(VERSION(4),2)) > 6

> ?'run' && run

> #endif

> #if val(left(VERSION(4),2)) > 7

> ?'run' &&

> #endif

[excessive quoting removed by server]

©2004 Andy Davies