Information For Programmers
 
All of these programs are written in PB10. This language produces tight, fast and efficient code, and is particularly adept at producing DLLs (there are currently 20 DLLs used by this suite of programs). For programmers new to this language, it represents a major advancement over Visual Basic (VB is not in the same league), and is easier to use than C or C++.
Further information can be obtained from PB's web site - powerbasic.com. Full peer support is available from the user forums - an unrivalled resource for any programmer. Have a look!
Config file structure
To enable producers of other related programs to use the data returned in the Config files for hydrological constants, the file structure is given below.
Open the file (*.CNF) and retrieve the following constants.
This is a simple text file, and can be opened in the normal manner:
Constant | Unit | Data type |
Area Location | 1 or 2 | Long integer |
M5-60 | mm | Single precision |
r | n/a | Single precision |
SOIL value | 1 to 5 | Long integer |
SAAR | mm | Long integer |
natgrid | text | String |
Placename | text | String |
FEH c | text | Single precision |
FEH d1 | text | Single precision |
FEH d2 | text | Single precision |
FEH d3 | text | Single precision |
FEH e | text | Single precision |
FEH f | text | Single precision |
Hyd. area | text | Long integer |
Hyd. zone | text | Long integer |
Please note the following Area locations:
location=1 represents England & Wales
location=2 represents Scotland & N. Ireland
location=3 represents Eire
An example of a config file structure:
1
20
0.41
1
660
"TQ3769"
"BECKENHAM"
0
0
0
0
0
0
6
8