|AN OBJECT-ORIENTED SPREADSHEET FRONT-END
Making spreadsheets safer
object parkinsons is_a company_and_workers where workforce = 100 & (t>0) workforce[t] = workforce[t-1]*2 & average_salary = 12000 & (t>0) average_salary[t] = average-salary[t-1]*1.5 & incomings = 1000 & (t>0) incomings[t] = incomings[t-1] * 1.1 & model model1 models parkinsons incomings at C1 & outgoings at C5 & workforce at C2.
Here, the programmer specifies column numbers for some of the attributes. The compiler will still allocate the rest.