Class: IterationRecord

Inherits:
BiffRecord show all
Defined in:
lib/surpass/biff_record.rb

Overview

This record is part of the Calculation Settings Block. It stores if iterations are allowed while calculating recursive formulas.

Record ITERATION, BIFF2-BIFF8:

Offset Size Contents 0 2 0 = Iterations off; 1 = Iterations on

Constant Summary collapse

RECORD_ID =
0x011

Constants inherited from BiffRecord

BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID

Instance Attribute Summary

Attributes inherited from BiffRecord

#record_data

Instance Method Summary collapse

Methods inherited from BiffRecord

#record_header, #to_biff

Constructor Details

#initialize(iterations_on) ⇒ IterationRecord

Returns a new instance of IterationRecord.



1568
1569
1570
# File 'lib/surpass/biff_record.rb', line 1568

def initialize(iterations_on)
  @record_data = [iterations_on].pack('v')
end