IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Turbo Pascal Discussion :

Runtime error 105 - File not open for output


Sujet :

Turbo Pascal

  1. #1
    Nouveau Candidat au Club
    Inscrit en
    Mai 2008
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 5
    Points : 1
    Points
    1
    Par défaut Runtime error 105 - File not open for output
    j'ai lu sur le site la solution de cette erreur, en utilisant IORESULT, qui ne s'applique pas à mon programme vue que je n'ai aucun de fichiers.
    je sais aussi que ça peut etre dû à une mauvaise manipulation de write et writeln, donc voici le fraguement du prog ou l'erreur est indiquée:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
     
    .......
    for i:=1 to n do 
    begin 
       if k=1 then 
             mat[i,j]:=t1[i,h] 
       else if k=2 then 
             mat[i,j]:=t2[i,h] 
       else 
             mat[i,j]:=t3[i,h]; 
    end; 
    end; 
     
      writeln;writeln;textcolor(15); {*c'est ici que le programme m'indique l'erreur}
     
    for j:=1 to f do 
    begin 
        for i:=1 to n do 
            write(mat[i,j]); 
        writeln; 
    end; 
    textcolor(2); 
    for j:=f+1 to g do 
    begin 
       for i:=1 to n do 
            write(mat[i,j]); 
       writeln; 
    end; 
    textcolor(6); 
    for j:=g+1 to m do 
    begin 
        for i:=1 to n do 
            write(mat[i,j]); 
        writeln; 
    end; 
    writeln; 
    textcolor(15); 
     
    write('Press Enter'); 
    readln(x); 
    clrscr; 
    end;  
    .........
    etc

    merci pour votre aide!

  2. #2
    Membre confirmé
    Homme Profil pro
    .
    Inscrit en
    Juin 2002
    Messages
    239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : .
    Secteur : Enseignement

    Informations forums :
    Inscription : Juin 2002
    Messages : 239
    Points : 567
    Points
    567
    Par défaut
    Bonjour.

    Le problème vient peut-être de la présence de deux "end" pour un seul "begin" dans la boucle initiale.

    Supprimez l'un des deux "end" qui précèdent la ligne "writeln;writeln;textcolor(15);".

    L'erreur est-elle toujours là ?

  3. #3
    Nouveau Candidat au Club
    Inscrit en
    Mai 2008
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 5
    Points : 1
    Points
    1
    Par défaut
    bonjour,
    les deux end ont leur begin, au fait mon programme se compile normalement, s'execute jusqu'à presque la fin, puis sort et m'indique l'erreur d'execution que j'ai declaré precedemment, à la ligne indiqué dans le fraguement de programme.

  4. #4
    Membre habitué Avatar de bs.box
    Inscrit en
    Mai 2008
    Messages
    174
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 174
    Points : 173
    Points
    173
    Par défaut
    Peut-on voir le reste du code svp !! ?

  5. #5
    Nouveau Candidat au Club
    Inscrit en
    Mai 2008
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 5
    Points : 1
    Points
    1
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    Program SE;
    uses crt;
     
    const m=23; n=8; a=4; b=6; c=4; d=9;
    type matrice=array[1..n,1..m]of integer;
         tb1=array[1..n,1..a]of integer;
         tb2=array[1..n,1..b]of integer;
         tb3=array[1..n,1..c]of integer;
         tb=array[1..d]of integer;
     
    var i, j, h, w, k, f, g, cpt, fin: integer;
        mat:matrice; t1:tb1; t2:tb2; t3:tb3; t:tb;
        x:char;
     
     
    Procedure Job1;
      begin
        for j:=1 to a do
        for i:=1 to n do
        t1[i,j]:=1;
      end;
    Procedure Job2;
      begin
        for j:=1 to b do
        for i:=1 to n do
        t2[i,j]:=1;
      end;
    Procedure Job3;
      begin
       for j:=1 to c do
       for i:=1 to n do
       t3[i,j]:=1;
      end;
     
     
    Procedure Indices;
      begin
        writeln;
        t[1]:=4;   t[4]:=8;    t[7]:=19;
        t[2]:=5;   t[5]:=15;   t[8]:=22;
        t[3]:=7;   t[6]:=18;   t[9]:=23;
      end;
     
     
    Procedure Affectation;
    begin
    Indices; writeln;
    j:=4; k:=1;
    while j<=m do
      begin
        if j=t[k] then
          begin
            for i:=1 to n do
            mat[i,j]:=1; k:=k+1;
          end
        else j:=j+1;
      end;
    end;
     
     
    Procedure Initialiser;
    begin
    clrscr; textcolor(15);
    for i:=1 to n do
    for j:=1 to 3 do
    mat[i,j]:=1;
    Affectation; job1; job2; job3;
    k:=0; f:=1;
    for j:=1 to m do
       begin
         for i:=1 to n do
         write(mat[i,j]);
         write('                                            ');
         if k=0 then
           begin
             writeln('Jobs:'); k:=k+1;
           end
         else
         if k=1 then
           begin
             writeln; k:=k+1;
           end
         else
         if k<=5 then
           begin
             textcolor(3);
             for i:=1 to n do
             write(t1[i,k]); k:=k+1;
             writeln; textcolor(15);
           end
         else
         if (k=6) or (k=7) then
           begin
             writeln; k:=k+1;
           end
         else
         if k<=13 then
           begin
             textcolor(6);
             for i:=1 to n do
             write(t2[i,k]);
             write('    '); textcolor(15);
             if f<=4 then
               begin
                 textcolor(9);
                 for i:=1 to n do
                 write(t3[i,f]);
                 textcolor(15);
                 f:=f+1; k:=k+1; writeln;
               end
             else
               begin
                 textcolor(15);
                 k:=k+1; writeln;
               end;
           end
         else writeln;
       end;
    textcolor(15); writeln;
    write('Press Enter'); read(x);
    clrscr;
    end;
     
     
    Procedure CherchVide;
    begin
    clrscr;
    cpt:=0; j:=4; i:=1;
    while (j<=m) and (cpt<w) do
      begin
        if mat[i,j]=1 then
                        begin f:=j; j:=j+1; i:=1; cpt:=0; end
        else
            begin g:=j; j:=j+1; cpt:=cpt+1; end;
      end;
    h:=0;
    end;
     
     
    Procedure InsertJob;
    begin
    CherchVide;
    for j:=f+1 to g do
      begin
        h:=h+1;
        for i:=1 to n do
          begin
            if k=1 then mat[i,j]:=t1[i,h]
            else
            if k=2 then mat[i,j]:=t2[i,h]
            else
            mat[i,j]:=t3[i,h];
          end;
      end;
    writeln; writeln;
    for j:=1 to f do
      begin
        textcolor(15);
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    textcolor(2);
    for j:=f+1 to g do
      begin
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    textcolor(15);
    for j:=g+1 to m do
      begin
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    if (j=m) and (cpt<w) then
      begin
        textcolor(4);
        writeln('                                      Ce Job doit avoir recours au d‚calage');
        write('                                     Si m‚moire pleine; statut Job: en attente');
       end;
    writeln; textcolor(15);
    write('Press Enter'); read(x); clrscr;
    end;
     
     
    Procedure Insertion;
    begin
    clrscr;
    writeln; write('  '); textcolor(15);
    writeln('JOB en entr‚: 1,2,3');
    textcolor(3);
    writeln; write('Choisir:'); textcolor(15);
    readln(k);
    if k=1 then
               begin job1; w:=4; end
    else
    if k=2 then
               begin job2; w:=6; end
    else
        begin job3;w:=4; end;
    InsertJob;
    end;
     
     
    Procedure Decalage;
    var cpt:integer;
    begin
    clrscr; writeln; textcolor(15);
    writeln('JOB qui a besoin d''Insertion avec D‚calage: 1,2,3:'); writeln;
    writeln; textcolor(3); write('Choisir:');
    read(k); textcolor(15);
    if k=1 then
               begin job1; w:=4; end
    else
    if k=2 then
               begin job2; w:=6; end
    else
        begin job3; w:=4; end;
    j:=4; g:=0; cpt:=0;
    repeat i:=1;
     while i<=n do
       begin
        if mat[i,j]=1 then
          begin
            if g<>0 then
              begin
                for i:=1 to n do
                mat[i,g]:=mat[i,j];
                for i:=1 to n do
                mat[i,j]:=0; g:=g+1; j:=j+1; i:=1;
              end
            else
              begin j:=j+1; i:=1; end;
          end
        else i:=i+1;
       end;
     if g=0 then g:=j;
     j:=j+1; cpt:=cpt+1;
    until (cpt=w); CherchVide;
    for j:=f+1 to g do
      begin
        h:=h+1;
        for i:=1 to n do
          begin
            if k=1 then mat[i,j]:=t1[i,h]
            else
            if k=2 then mat[i,j]:=t2[i,h]
            else
            mat[i,j]:=t3[i,h];
          end;
      end;
    writeln;textcolor(15);
        for j:=1 to f do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        textcolor(2);
        for j:=f+1 to g do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        textcolor(6);
        for j:=g+1 to m do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        writeln; textcolor(15);
        write('Press Enter');
        readln(x); clrscr;
    end;
     
     
    Procedure Main;
    begin
    clrscr; writeln; writeln;
    repeat
     write('        ');textcolor(3);
     writeln('                           Principal Main');
     writeln;writeln;writeln;writeln;
     write('      ');textcolor(15);
     writeln('1:Initialisation');writeln;
     write('      ');
     writeln('2:Insertion Directe');writeln;
     write('      ');
     writeln('3:Insertion avec D‚calage');writeln;
     write('      ');
     writeln('4:Exit');writeln;writeln;
     write('      ');textcolor(3);
     writeln;writeln;writeln;
     writeln;writeln;writeln; writeln;
     write('   Entrer Nø:');
     readln(Fin);
     case Fin of
       1:Initialiser;
       2:Insertion;
       3:Decalage;
       4:Exit;
     end;
    until Fin=4;
    end;
     
     
    Begin
    Accueil;
    textbackground(0); clrscr;
    Main;
    End.

  6. #6
    Expert confirmé

    Inscrit en
    Août 2006
    Messages
    3 950
    Détails du profil
    Informations forums :
    Inscription : Août 2006
    Messages : 3 950
    Points : 5 667
    Points
    5 667
    Par défaut
    Jea,

    Usage et abus de variables globales, avec des noms absolument sans signification, ...

    Bref, pas envie de plonger là-dedans.

  7. #7
    Nouveau Candidat au Club
    Inscrit en
    Mai 2008
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 5
    Points : 1
    Points
    1
    Par défaut
    c'est gentil

  8. #8
    Responsable Pascal, Lazarus et Assembleur


    Avatar de Alcatîz
    Homme Profil pro
    Ressources humaines
    Inscrit en
    Mars 2003
    Messages
    7 963
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 57
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ressources humaines
    Secteur : Service public

    Informations forums :
    Inscription : Mars 2003
    Messages : 7 963
    Points : 59 642
    Points
    59 642
    Billets dans le blog
    2
    Par défaut
    Bonjour !

    En exécutant ton programme, je ne parviens pas à reproduire l'erreur 105.
    Peut-être dans la procédure Accueil, qui est absente de ce code ?

  9. #9
    Nouveau Candidat au Club
    Inscrit en
    Mai 2008
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 5
    Points : 1
    Points
    1
    Par défaut
    bonjour, ..oui j'ai enlevé accueil la (mon vrai prog contient un module que je n'ai pas mis ici)

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    Program SE;
    uses crt;
     
    const m=23; n=8; a=4; b=6; c=4; d=9;
    type matrice=array[1..n,1..m]of integer;
         tb1=array[1..n,1..a]of integer;
         tb2=array[1..n,1..b]of integer;
         tb3=array[1..n,1..c]of integer;
         tb=array[1..d]of integer;
     
    var i, j, h, w, k, f, g, cpt, fin: integer;
        mat:matrice; t1:tb1; t2:tb2; t3:tb3; t:tb;
        x:char;
     
    Procedure Job1;
      begin
        for j:=1 to a do
        for i:=1 to n do
        t1[i,j]:=1;
      end;
    Procedure Job2;
      begin
        for j:=1 to b do
        for i:=1 to n do
        t2[i,j]:=1;
      end;
    Procedure Job3;
      begin
       for j:=1 to c do
       for i:=1 to n do
       t3[i,j]:=1;
    end;
     
    Procedure Indices;
      begin
        writeln;
        t[1]:=4;   t[4]:=8;    t[7]:=19;
        t[2]:=5;   t[5]:=15;   t[8]:=22;
        t[3]:=7;   t[6]:=18;   t[9]:=23;
      end;
     
    Procedure Affectation;
    begin
    Indices; writeln;
    j:=4; k:=1;
    while j<=m do
      begin
        if j=t[k] then
          begin
            for i:=1 to n do
            mat[i,j]:=1; k:=k+1;
          end
        else j:=j+1;
      end;
    end;
     
    Procedure Initialiser;
    begin
    clrscr; textcolor(15);
    for i:=1 to n do
    for j:=1 to 3 do
    mat[i,j]:=1;
    Affectation; job1; job2; job3;
    k:=0; f:=1;
    for j:=1 to m do
       begin
         for i:=1 to n do
         write(mat[i,j]);
         write('                                            ');
         if k=0 then
           begin
             writeln('Jobs:'); k:=k+1;
           end
         else
         if k=1 then
           begin
             writeln; k:=k+1;
           end
         else
         if k<=5 then
           begin
             textcolor(3);
             for i:=1 to n do
             write(t1[i,k]); k:=k+1;
             writeln; textcolor(15);
           end
         else
         if (k=6) or (k=7) then
           begin
             writeln; k:=k+1;
           end
         else
         if k<=13 then
           begin
             textcolor(6);
             for i:=1 to n do
             write(t2[i,k]);
             write('    ');
             if f<=4 then
               begin
                 textcolor(9);
                 for i:=1 to n do
                 write(t3[i,f]);
                 textcolor(15);
                 f:=f+1; k:=k+1; writeln;
               end
             else
               begin
                 textcolor(15);
                 k:=k+1; writeln;
               end;
           end
         else writeln;
       end;
    textcolor(15); writeln;
    write('Press Enter'); read(x);
    clrscr;
    end;
     
    Procedure CherchVide;
    begin
    clrscr;
    cpt:=0; j:=4; i:=1;
    while (j<=m) and (cpt<w) do
      begin
        if mat[i,j]=1 then
                        begin f:=j; j:=j+1; i:=1; cpt:=0; end
        else
            begin g:=j; j:=j+1; cpt:=cpt+1; end;
      end;
    h:=0;
    end;
     
    Procedure InsertJob;
    begin
    CherchVide;
    for j:=f+1 to g do
      begin
        h:=h+1;
        for i:=1 to n do
          begin
            if k=1 then mat[i,j]:=t1[i,h]
            else
            if k=2 then mat[i,j]:=t2[i,h]
            else
            mat[i,j]:=t3[i,h];
          end;
      end;
    writeln; writeln;
    for j:=1 to f do
      begin
        textcolor(15);
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    textcolor(2);
    for j:=f+1 to g do
      begin
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    textcolor(15);
    for j:=g+1 to m do
      begin
        for i:=1 to n do
        write(mat[i,j]); writeln;
      end;
    if (j=m) and (cpt<w) then
      begin
        textcolor(4);
        writeln('                                      Ce Job doit avoir recours au d‚calage');
        write('                                     Si m‚moire pleine; statut Job: en attente');
       end;
    writeln; textcolor(15);
    write('Press Enter'); read(x); clrscr;
    end;
     
    Procedure Insertion;
    begin
    clrscr;
    writeln; write('  '); textcolor(15);
    writeln('JOB en entr‚: 1,2,3');
    textcolor(3);
    writeln; write('Choisir:'); textcolor(15);
    readln(k);
    if k=1 then
               begin job1; w:=4; end
    else
    if k=2 then
               begin job2; w:=6; end
    else
        begin job3;w:=4; end;
    InsertJob;
    end;
     
    Procedure Decalage;
    var cpt:integer;
    begin
    clrscr; writeln; textcolor(15);
    writeln('JOB qui a besoin d''Insertion avec D‚calage: 1,2,3:'); writeln;
    writeln; textcolor(3); write('Choisir:');
    read(k); textcolor(15);
    if k=1 then
               begin job1; w:=4; end
    else
    if k=2 then
               begin job2; w:=6; end
    else
        begin job3; w:=4; end;
    j:=4; g:=0; cpt:=0;
    repeat i:=1;
     while i<=n do
       begin
        if mat[i,j]=1 then
          begin
            if g<>0 then
              begin
                for i:=1 to n do
                mat[i,g]:=mat[i,j];
                for i:=1 to n do
                mat[i,j]:=0; g:=g+1; j:=j+1; i:=1;
              end
            else
              begin j:=j+1; i:=1; end;
          end
        else i:=i+1;
       end;
     if g=0 then g:=j;
     j:=j+1; cpt:=cpt+1;
    until (cpt=w); CherchVide;
    for j:=f+1 to g do
      begin
        h:=h+1;
        for i:=1 to n do
          begin
            if k=1 then mat[i,j]:=t1[i,h]
            else
            if k=2 then mat[i,j]:=t2[i,h]
            else
            mat[i,j]:=t3[i,h];
          end;
      end;
    writeln;textcolor(15);
        for j:=1 to f do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        textcolor(2);
        for j:=f+1 to g do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        textcolor(6);
        for j:=g+1 to m do
          begin
            for i:=1 to n do
            write(mat[i,j]); writeln;
          end;
        writeln; textcolor(15);
        write('Press Enter');
        readln(x); clrscr;
    end;
     
    Procedure Main;
    begin
    clrscr; writeln; writeln;
    repeat
     write('        ');textcolor(3);
     writeln('                           Principal Main');
     writeln;writeln;writeln;writeln;
     write('      ');textcolor(15);
     writeln('1:Initialisation');writeln;
     write('      ');
     writeln('2:Insertion Directe');writeln;
     write('      ');
     writeln('3:Insertion avec D‚calage');writeln;
     write('      ');
     writeln('4:Exit');writeln;writeln;
     write('      ');textcolor(3);
     writeln;writeln;writeln;
     writeln;writeln;writeln; writeln;
     write('   Entrer Nø:');
     readln(Fin);
     case Fin of
       1:Initialiser;
       2:Insertion;
       3:Decalage;
       4:Exit;
     end;
    until Fin=4;
    end;
     
    Begin
    textbackground(0); clrscr;
    Main;
    End.

Discussions similaires

  1. [TPW] Runtime error 105
    Par Abdsatar dans le forum Turbo Pascal
    Réponses: 1
    Dernier message: 13/05/2011, 23h43
  2. REDHAT EL 5.2 error 15: File not found (veut pas demarrer)
    Par scofield dans le forum Administration système
    Réponses: 12
    Dernier message: 02/08/2010, 15h33
  3. Réponses: 3
    Dernier message: 17/11/2009, 12h59
  4. [Turbo Pascal] Erreur d'exécution "runtime error 105"
    Par afifi dans le forum Turbo Pascal
    Réponses: 6
    Dernier message: 04/12/2008, 18h19
  5. [PPT 2007] Error:PowerPoint could not open the file en VBS
    Par M4st4h dans le forum VBA PowerPoint
    Réponses: 5
    Dernier message: 06/10/2008, 17h21

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo