12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Writing to a spreadsheetThis section uses extracts from the oilSheet.dat data file.Publishing results to a spreadsheet can be performed using such instructions as:a to SheetWrite(sheet,"RESULT!A2:A4");blend to SheetWrite(sheet,"RESULT!B2:D4");<strong>OPL</strong> then opens spreadsheets in read-write mode. This action may fail if another process isalready using the .xls file.The types of data elements supported for writing are just the same as for reading. Cells inMicrosoft Excel spreadsheets are filled from left to right and from top to bottom.70I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!