Download User Manual
Transcript
LSH – Lund SIMULA user’s manuals Table of Contents 1 Introduction 1 2 An Introductory Example 2 3 Useful scripts 3 4 Compiling 4 4.1 Error Handling 4 4.2 Line Numbers 5 4.3 Compiler Directives 5 4.4 General Description 6 5 Linking 7 6 Simula Program Execution 8 7 External Simula classes and procedures 8 7.1 Naming a separately compiled module 8 7.2 Finding attribute files 9 7.3 Interface checking 11 7.4 Maintaining sets of related files with simmake 12 8 Calling external C-routines 13 8.1 Simula memory management and C-routines 13 8.2 Simple parameters to C-routines 14 8.3 Arrays of simple values as parameters 15 8.4 Simple results from C-routines 16 8.5 Text parameters to C-routines 16 8.6 Text results from C-routines 17 8.7 Text arrays as parameters to C-routines 17 8.8 C-routines as parameters to C-routines 18 8.9 C-struct as input and output parameters to C-routines 18 8.10 C-struct as result from a C-routine call 19 9 External Library Procedures 19 10 Restrictions and Extensions 20 11 Implementation Notes 21 11.1 Input-Output 21 11.2 Simulation 22 11.3 Garbage Collection 22 12 Managing versions of Lund Simula 23 13 On-line documentation and additional libraries 23 APPENDIX A:The simcomp, simmake and simld commands 26 APPENDIX B:Run-Time Options 30 APPENDIX C:Hardware specific details 31 APPENDIX D:Compiler error messages 32 APPENDIX E:Error reports 36 i