On 7/21/2005 2:11:30 AM, Peter Rejto wrote:
>Call_File(100, "|(USER_MACRO)\xxx.vdm)
>where, xxx.vdm does not exist.
>
>I got the error message
>Can not find "|(HOME)\xxx.vdm.
>[ but expected: |(USER_MACRO)\xxx.vdm ]
Do you really get that exact string with '|(HOME)'?
I'm getting the message:
FILE NOT FOUND: C:\vedit\xxx.vdm
(HOME is c:\vedit on my PC)
That message may not be perfectly clear, but I assume that it's this way due to Call_File()'s behavior:
Quoted from the Online Help:
[ Call_File(r,"file") Load the command macro in 'file' into T-Reg 'r' and execute it.
[ If 'file' is not found in current directory, VEDIT will look for it first in the User Macro Directory,
[ then in the VEDIT Macro Directory, and last in the VEDIT Home Directory.
So the Home directory is last one tested and failing too. And this is reported in the error message.
Christian
|
|