Download Good practice guide for ESP-r developers
Transcript
Table of Contents Summary ............................................................................................................................................... 3 1. INTRODUCTION ............................................................................................................................ 3 2. ORGANISATIONAL STRUCTURE ............................................................................................... 7 3. GOOD PRACTICE PROCEDURES ................................................................................................ 9 4. GOOD PRACTICE CODING .......................................................................................................... 11 4.1. Style ......................................................................................................................................... 11 4.2. Documenting ............................................................................................................................ 11 4.3. Examples .................................................................................................................................. 12 4.3.1. Example in FORTRAN ...................................................................................................... 12 4.3.2. Example in C ................................................................................................................... 15 5. CASE TOOLS AIDING GOOD PRACTICE ................................................................................... 20 5.1. forchk ....................................................................................................................................... 20 5.2. floppy ....................................................................................................................................... 20 5.3. toolpack .................................................................................................................................... 21 6. CONCLUSION ................................................................................................................................. 23 Acknowledgements ............................................................................................................................... 23 Appendix 1 ESP-r Background and History ........................................................................................ 24 Appendix 2 forchk Manual Page ......................................................................................................... 27 Appendix 3 floppy Manual Page .......................................................................................................... 31 References ............................................................................................................................................. 35 -2-