Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getdir()
Message
From
13/02/2003 11:48:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/02/2003 11:36:06
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00752631
Message ID:
00752745
Views:
18
I never saw it happen. W/o seeing once have no idea :(
Cetin
>Cetin
>The code is very simple
>
>procedure xxxx
>lcProjdirx = getdir('C:', 'Project folder')
>
>by here , the damage already done as getdir() returns a numeric '4' rather than the (char) name of the folder. If I include set step on before the prg line, it works. Maybe VFP corrupted ? as it has run normally for 3 years. Under VFP 7, its fine.
>
>Denis
>
>Assuming you check return value immediately on return from GetDir() (otherwise be sure you used a local variable) does adding an m. prefix help ? Would you show code portion.
>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform