PDA

View Full Version : AU2006 LISP Table Magic


peter
2006-12-09, 03:01 PM
Hey Group,

I just wanted to mention that I had a good response to my class at AU2006.

The course title was LISP Table Magic.

Do you ever want to create tables with LISP? Bill of materials? etc...

I wrote a series of functions that create and populate tables on the fly.

If anyone is interested, I can post the code here.

Peter

Opie
2006-12-09, 10:28 PM
That would be great, Peter. I'm sure they would be used by many. ;)

peter
2006-12-10, 08:00 PM
Here is the code.

Load the LISPTableMagic.lsp first (written for A2k6)
LISPTableMagicBonus.lsp next (written for A2k7)
and finally the UpdateTable.lsp

The handout only covers the first file, the others were bonus files.

Run the BOMDIalog command line function to sepcify blocks to show in schedule and set pricing.

Run BillOfMaterials command line function to create a block schedule.

If you change the number of blocks the updateTable function will update the table.

Make sure your textsize system variable is not set to zero.


Peter