Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select() or Select
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00337143
Message ID:
00337196
Views:
15
>I think you're right about that. Apparently, with the parenthesis, it doesn't need any whitespace.

This is interesting: I just did some experimenting, and the same goes for just quotes:
Select"myTable"
also works. Of course
Select(myTable)
doesn't work, because it expects myTable to be a variable.

But USE has an interesting quirk:
use c:\temp\temp
works fine.
use("c:\temp\temp")
works fine.
use"c:\temp\temp"
works fine.

here's where it gets interesting:
use(c:\temp\temp)
doesn't work. Actually I didn't expect it to, but it failed in a way that I didn't expect. With a straight tablename
use(temp)
of course it thinks temp is a variable, but with an full path it tries to open (in the current directory) a filename that includes the parenthesis and path!
< CurrentDirectory >\(c:\temp\temp).dbf
Peter Franz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform