VFP macro expansion in USE statement
<p>A table is being opened in a folder whose name is being provided by the user.</p>

<pre><code>lFolder = Getfile()
lFilename = lFolder + “mytable.dbf”
USE &amp;lFilename IN  0 ALIAS  . . .
</code></pre>

<p>This usually works fine.  However, if the folder whose name is supplied by the user has an embedded space, so ‘My folder’, the USE instruction fails.  But this instruction works successfully :</p>

<pre><code>USE (lFilename) IN 0 . . .
</code></pre>

<p>Are there any rules which say when one should use the Ampersand (&amp;)  construct and when one should use the bracket construct?  And is this only applicable to the USE statement?</p>

<p>Thanks.  Andrew</p>