| |||||||||||||||||||||||||||||||||||||||||
Reading and writing records and lists Description This set of examples shows how to work with advanced data structures when accessing data in spreadsheets and databases:
Further explanation of this example: Xpress Whitepaper 'Using ODBC and other database interfaces with Mosel', Section Examples - Working with lists - Working with records.
Source Files By clicking on a file name, a preview is opened at the bottom of this page. Data Files
recorddata.dat ! Data file for `record*_out.mos' ProdData: [ (prod1 1) [1.2 3] (prod1 3) [2.4 2] (prod2 3) [3 1] (prod2 2) [* 2] (prod4 1) [4 5] (prod4 4) [3.2 2] (prod3 3) [5.7 2] (prod3 4) [2.9 8] (prod3 1) [3 *] ] AllData: [ [prod1 1 1.2 3] [prod1 3 2.4 2] [prod2 3 3 1] [prod2 2 * 2] [prod4 1 4 5] [prod4 4 3.2 2] [prod3 3 5.7 2] [prod3 4 2.9 8] [prod3 1 3 *] ] | |||||||||||||||||||||||||||||||||||||||||
© Copyright 2024 Fair Isaac Corporation. |