JanetDocsI'm feeling luckyGithub sign in

file/open



    cfunction

    (file/open path &opt mode)
    
    Open a file. path is an absolute or relative path, and mode is a set
    of flags indicating the mode to open the file in. mode is a keyword
    where each character represents a flag. If the file cannot be opened,
    returns nil, otherwise returns the new file handle. Mode flags:
    
      r - allow reading from the file
      w - allow writing to the file
      a - append to the file
      b - open the file in binary mode (rather than text mode)
      + - append to the file instead of overwriting it


0 examplesSign in to add an example
Loading...