Evaluate test data (Windows)
Typically, dictionary and database are stored in the project root (e.g. E:\Sample ). In the example, the script and ini-file had been stored to a subfolder osi (E:\Sample\osi\OShell.ini , E:\Sample\osi\TestData.osh ).
C:\Programs\odaba\OShell.exe E:\Sample\osi\OShell.ini E:\Sample\osi\TestData.osh
This call has to be adapted to your specific environment. The call produces the output shown below. When you are running the example, figures will differ, since the example script uses random numbers in many places.
*** ini-file to be created (OShell.ini) ***
[SYSTEM]
DICTIONARY=L:\adk\ode.sys
[Sample]
DICTIONARY=E:\Sample\sample.dev
DATABASE=E:\Sample\sample.dat
NET=YES
ACCESS_MODE=Write
*** program call ***
OShell.exe E:\Sample\osi\OShell.ini E:\Sample\osi\TestData.osh -q
*** output from TestData.osh ***
Any company
Best company
My company
NO company
Your company
cars.count=12
cars.count=17
cars.count=3
cars.count=15
cars.count=7
employees.count=100
employees.count=92
employees.count=105
employees.count=114
employees.count=89
count returns: 500
relativeCount returns: 258
count returns: 1,000
Persons probably retired (over 65 and not employed): 332
Total number of children: 975
Average age distance between children and parents: 38.310249307479225
Minimum/maximum distance is: 12/67
Total income for "Any company" is: 476,439.00
Total income for "Best company" is: 448,855.00
Total income for "My company" is: 554,790.00
Total income for "NO company" is: 525,185.00
Total income for "Your company" is: 454,157.00
Sample/Company>

