Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPD25 Urgent/HELP IF FILE() code broken
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00589278
Message ID:
00589671
Views:
17
Sorry to trouble all of you and Thanks all of you for your response. I think I'm going dumb but it is a long long story, it started when I wanted to create a Lib of repetitive codes... :-).

Ive got my self to blame when there was a simpler way to go about it
IF !EMPTY(m.zscrname)
...
Thanks for your response to my screams

>>The IF FILE() works on a PIII 550 W2K Machine and fails
>>on a 486 12MB RAM W98 machine, MMX machine.
>
>First, this is an inconsistent description of hardware. The PIII/550 is fine, but there is no such thing as a 486 MMX processor - the MMX designation was added to the Pentium processor to indicate the presense of an extended processor set on the Pentium chip, so there simply ain't no such thing.
>
>Second, a Win98 box with 12MB is an awfully thin configuration - I'd be surprised to see it run a couple of sessions of Notepad happily without hitting the swap file. Before spending any more time on this antique whatever-it-is, I'd suggest a minimum memory configuration of 32MB with Win98.
>
>>I tried relative path
>>as specified above as well as IF FILE(m.zscrname + ".spr"), IF FILE("..\sprs\"+ m.zscrname + ".spr"), with without UPPER() for the file string
>>
>>but none of them work on the W98 machine
>
>Pathing behaves differently in the two operating systems; rather than using a relative path, I'd suggest resolving it to a fully-specified path using:
>
>
FULLPATH(CURDIR()+'..\<i>blah blah woof woof'</i>)
so that there is no ambiguity as to where the file is expected to reside.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform