CON: not processed correctly in @FILEREAD and @FILEARRAY

#1
@FILEOPEN reports a valid handle when it opens the pseudofile CON: but subsequent @FILEREAD calls HANG.

Attempting to read the pseudofile CON: with @FILEARRAY hangs in the function.

Both HANG problems respond properly to ctrl-C.

Attempting to read the pseudofile CLIP: with @FILEARRAY reports a system error: "The filename, directory name, or volume label syntax is incorrect."

No mention in HELP about restricted use of these pseudofiles in the above functions.
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
10,644
97
#2
@FILEOPEN reports a valid handle when it opens the pseudofile CON: but subsequent @FILEREAD calls HANG.

Attempting to read the pseudofile CON: with @FILEARRAY hangs in the function.

Both HANG problems respond properly to ctrl-C.

Attempting to read the pseudofile CLIP: with @FILEARRAY reports a system error: "The filename, directory name, or volume label syntax is incorrect."

No mention in HELP about restricted use of these pseudofiles in the above functions.
CON: and CLIP: are not supported anywhere except where they are specifically documented to work. There's a couple dozen places they do work and a couple thousand where they don't -- it's a lot more practical to document the first case!