(self, args)
FIELD: attach a variable to the record buffer.
FIELD: attach a variable to the record buffer.
FIELD : attach a variable to the record buffer .
def field_(self, args):
        """FIELD: attach a variable to the record buffer."""
        number = values.to_int(next(args))
        error.range_check(0, 255, number)
        # check if file is open
        self.get(number, b'R')
        offset = 0
        try:
            while True:
                width = values.to_int(next(args))
                error.range_check(0, 255, width)
                name, index = next(args)
                name = self._memory.complete_name(name)
                self._memory.fields[number].attach_var(name, index, offset, width)
                offset += width
        except StopIteration:
            pass
def field_ ( self , args ) : number = values . to_int ( next ( args ) ) error . range_check ( 0 , 255 , number ) # check if file is open self . get ( number , b'R' ) offset = 0 try : while True : width = values . to_int ( next ( args ) ) error . range_check ( 0 , 255 , width ) name , index = next ( args ) name = self . _memory . complete_name ( name ) self . _memory . fields [ number ] . attach_var ( name , index , offset , width ) offset += width except StopIteration : pass