Created On: 23 September 2010
Problem:
The AcuConnect User's Guide version 8.1, Section 7.2.1 Copying Files Between the Client and Server discusses access to files on the display host that may be accomplished via a set of directory specifiers. It provides the following code sample that does not compile.
C$COPY "@[DISPLAY]:"/filename
C$COPY "@[DISPLAY]:"/filename
Resolution:
The placement of the second double quote caused the compile error to occur. The correct syntax should be:
C$COPY "@[DISPLAY]:/filename"
When the corrected syntax is used in a program it may look like the following.
call "C$COPY" using "My_Image.bmp"
"@[DISPLAY]:\My_Image.bmp"
C$COPY "@[DISPLAY]:/filename"
When the corrected syntax is used in a program it may look like the following.
call "C$COPY" using "My_Image.bmp"
"@[DISPLAY]:\My_Image.bmp"
Incident #2468981