1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CON: not processed correctly in @FILEREAD and @FILEARRAY

Discussion in 'Support' started by Steve Fabian, Apr 27, 2011.

  1. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    @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
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    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!
     

Share This Page