(self, args)
PRINT: Write expressions to the screen or a file.
PRINT: Write expressions to the screen or a file.
PRINT : Write expressions to the screen or a file .
def print_(self, args):
        """PRINT: Write expressions to the screen or a file."""
        # check for a file number
        file_number = next(args)
        if file_number is not None:
            file_number = values.to_int(file_number)
            error.range_check(0, 255, file_number)
            output = self.get(file_number, b'OAR')
            console = None
        else:
            # neither LPRINT not a file number: print to screen
            output = self.scrn_file
            console = self.scrn_file.console
        formatter.Formatter(output, console).format(args)
def print_ ( self , args ) : # check for a file number file_number = next ( args ) if file_number is not None : file_number = values . to_int ( file_number ) error . range_check ( 0 , 255 , file_number ) output = self . get ( file_number , b'OAR' ) console = None else : # neither LPRINT not a file number: print to screen output = self . scrn_file console = self . scrn_file . console formatter . Formatter ( output , console ) . format ( args )