COLOUR:EUPHORIA
POSITION:028,114
TEXT:00,   = open(  ,  )
COLOUR:POINTS
TEXT:00,ri        s1 s2
COLOUR:STANDARD
TEXT:32,open() requests the operating system to allocate a file or device (  )
COLOUR:POINTS
TEXT:00,                                                                   s1
COLOUR:STANDARD
TEXT:16,to be used in a certain mode (  ). If allowed, the number to reference
COLOUR:POINTS
TEXT:00,                              s2
COLOUR:STANDARD
TEXT:16,the file or device by is stored in   . If the file or device cannot be
COLOUR:POINTS
TEXT:00,                                   ri
COLOUR:STANDARD
TEXT:16,allocated, -1 is stored in    instead.
COLOUR:POINTS
TEXT:00,                           ri
COLOUR:STANDARD
TEXT:32,Accessing a file or device in a particular mode (  ) involves two parts.
COLOUR:POINTS
TEXT:00,                                                 s2
COLOUR:STANDARD
TEXT:16,The first part is how you want to open the file or device. If you
TEXT:16,want to open a file or device only as a source of data for your program,
TEXT:16,and do not plan to send data back to it, then you want to open this file
TEXT:16,or device in "read" mode. This means the program can only accept data
TEXT:16,from a file or device, not send to it. In the case of a file, this
TEXT:16,means you cannot change the data inside the file. A file or device must
TEXT:16,exist in order to open it in "read" mode.
