Documente Academic
Documente Profesional
Documente Cultură
Introducere. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Capitolul 3. INSTRUCŢIUNI
3.1. Conceptul de actiune.......................................... 56
3.2. Expresii .................................................... 57
3.3. Evaluarea expresiilor.......................................... 62
3.4. Tipul expresiilor PASCAL. ...................................... 64
3.5. Instrucţiunea de atribuire....................................... 67
3.6. lnstructiunea apel de procedură. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.7. Afişarea informatiei alfanumerice ................................. 71
3.8. C1tirea datelor de la tastatură .................................... 74
3.9. lnstructiunea de efect nul. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3.10. lnstructiunea i f ............................................ 77
3.11. lnstructiunea case. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
3.12. Instrucţiunea for. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
3.13. lnstructiunea compusă. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
3.14. lnstructiunea whi le. . . . .................................... 91
3.15. lnstructiunea repeat. ...................................... 95
3.16. lnstructiunea goto. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
3.17. Generalităti despre structura unui program PASCAL. . . . . . . . . . . . . . . . . 102
3
4.3. Tipuri de date articol (record). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4.4. Instrucţiunea with. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4.5. Tipuri de date mulţime (set) .................................... 124
4.6. Generalităti despre fişiere ...................................... 128
4.7. Fişiere secventiale.......... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
4.8. Fişiere cu acces direct. ........................................ 135
4.9. Fişiere text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138