Author: Peter Cushing
Posted: 2004-06-04 at 09:43:35
I'm also using VFP 7 and get same results
But val(left(VERSION(4),2)) returns 7.00
and your comparison is > 7 so isn't that
the correct result?
Peter
----- Original Message -----
From: "Andy Davies" <a.davies@notes.manchester.gov.uk>
To: <profox@leafe.com>
Sent: Friday, June 04, 2004 3:04 PM
Subject: Re: Why does this #IF not work?
>
> 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
>
> AndyD 8-)#
>
>
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept
> for the presence of computer viruses.
>
> Please contact internet.administrators@notes.manchester.gov.uk
> with any queries.
>
>
[excessive quoting removed by server]