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 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
| uses crt;
type
stock= record
date:string[8];
des:string[16];
ent:real;
sort:real;
stock:real;
numbon:integer;
end;
Fstock=file of stock;
var
p:stock;
F:Fstock;
procedure creation1 ;
var rep:char;
begin
{$I-}
reset (F);
if ioresult <>0 then
begin
rewrite(F);
repeat
clrscr;
gotoxy(03,03);write('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»');
gotoxy(03,04);write('ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº');
gotoxy(03,05);write('ºÛ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Ûº');
gotoxy(03,06);write('ºÛ ³±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±³ Ûº');
gotoxy(03,07);write('ºÛ ³± ±³ Ûº');
gotoxy(03,08);write('ºÛ ³± *** Nouveau *** ±³ Ûº');
gotoxy(03,09);write('ºÛ ³± ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ±³ Ûº');
gotoxy(03,10);write('ºÛ ³± ±³ Ûº');
gotoxy(03,11);write('ºÛ ³±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±³ Ûº');
gotoxy(03,12);write('ºÛ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ Ûº');
gotoxy(03,13);write('ºÛ ³ ³ Ûº');
gotoxy(03,14);write('ºÛ ³ * Date : ................ ³ Ûº');
gotoxy(03,15);write('ºÛ ³ ³ Ûº');
gotoxy(03,16);write('ºÛ ³ ³ Ûº');
gotoxy(03,17);write('ºÛ ³ * Designation : ................ ³ Ûº');
gotoxy(03,18);write('ºÛ ³ ³ Ûº');
gotoxy(03,19);write('ºÛ ³ ³ Ûº');
gotoxy(03,20);write('ºÛ ³ * Entres : ................ ³ Ûº');
gotoxy(03,21);write('ºÛ ³ ³ Ûº');
gotoxy(03,22);write('ºÛ ³ ³ Ûº');
gotoxy(03,23);write('ºÛ ³ * Sorties : ................ ³ Ûº');
gotoxy(03,24);write('ºÛ ³ ³ Ûº');
gotoxy(03,25);write('ºÛ ³ ³ Ûº');
gotoxy(03,26);write('ºÛ ³ * Nø de bon : ................ ³ Ûº');
gotoxy(03,27);write('ºÛ ³ ³ Ûº');
gotoxy(03,28);write('ºÛ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Ûº');
gotoxy(03,29);write('ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº');
gotoxy(03,30);write('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ');
textcolor(yellow);
gotoxy(31,14);readln(p.date);
textcolor(yellow);
gotoxy(31,17);readln(p.des);
textcolor(yellow);
gotoxy(31,20);readln(p.ent);
textcolor(yellow);
gotoxy(31,23);readln(p.sort);
textcolor(lightred);
gotoxy(31,26);readln(p.numbon);
textcolor(white);
Write(F,p);
gotoxy(12,33);write('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»');
gotoxy(12,34);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(12,35);write('º± ÚÄÄÄ¿ ±º');
gotoxy(12,36);write('º± Autre Produit (o/n)? : ³ ³ ±º');
gotoxy(12,37);write('º± ÀÄÄÄÙ ±º');
gotoxy(12,38);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(12,39);write('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ');
textcolor(green);
gotoxy(45,36);readln(Rep);
Until rep in ['n','N'];
textcolor(white);
Close(F);
End
else
begin
repeat
read(f,p);
until eof(f);
repeat
clrscr;
gotoxy(03,03);write('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»');
gotoxy(03,04);write('ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº');
gotoxy(03,05);write('ºÛ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Ûº');
gotoxy(03,06);write('ºÛ ³±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±³ Ûº');
gotoxy(03,07);write('ºÛ ³± ±³ Ûº');
gotoxy(03,08);write('ºÛ ³± *** Nouveau *** ±³ Ûº');
gotoxy(03,09);write('ºÛ ³± ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ±³ Ûº');
gotoxy(03,10);write('ºÛ ³± ±³ Ûº');
gotoxy(03,11);write('ºÛ ³±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±³ Ûº');
gotoxy(03,12);write('ºÛ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ Ûº');
gotoxy(03,13);write('ºÛ ³ ³ Ûº');
gotoxy(03,14);write('ºÛ ³ * Date : ................ ³ Ûº');
gotoxy(03,15);write('ºÛ ³ ³ Ûº');
gotoxy(03,16);write('ºÛ ³ ³ Ûº');
gotoxy(03,17);write('ºÛ ³ * designation : ................ ³ Ûº');
gotoxy(03,18);write('ºÛ ³ ³ Ûº');
gotoxy(03,19);write('ºÛ ³ ³ Ûº');
gotoxy(03,20);write('ºÛ ³ * entres : ................ ³ Ûº');
gotoxy(03,21);write('ºÛ ³ ³ Ûº');
gotoxy(03,22);write('ºÛ ³ ³ Ûº');
gotoxy(03,23);write('ºÛ ³ * sorties : ................ ³ Ûº');
gotoxy(03,24);write('ºÛ ³ ³ Ûº');
gotoxy(03,25);write('ºÛ ³ ³ Ûº');
gotoxy(03,26);write('ºÛ ³ * Nø de bon : ................ ³ Ûº');
gotoxy(03,27);write('ºÛ ³ ³ Ûº');
gotoxy(03,28);write('ºÛ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Ûº');
gotoxy(03,29);write('ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº');
gotoxy(03,30);write('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ');
textcolor(yellow);
gotoxy(31,14);readln(p.date);
textcolor(yellow);
gotoxy(31,17);readln(p.des);
textcolor(yellow);
gotoxy(31,20);readln(p.ent);
textcolor(yellow);
gotoxy(31,23);readln(p.sort);
textcolor(lightred);
gotoxy(31,26);readln(p.numbon);
textcolor(white);
Write(F,p);
gotoxy(12,33);write('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»');
gotoxy(12,34);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(12,35);write('º± ÚÄÄÄ¿ ±º');
gotoxy(12,36);write('º± Autre Produit (o/n)? : ³ ³ ±º');
gotoxy(12,37);write('º± ÀÄÄÄÙ ±º');
gotoxy(12,38);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(12,39);write('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ');
gotoxy(45,36);readln(Rep);
Until rep in ['n','N'];
close(f);
End;
End;
procedure affichage1;
var i:integer;
totent:real;
stock:real;
ancstock:real;
begin
repeat
clrscr;
reset (F);
gotoxy(01,03);write(' ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ');
gotoxy(01,04);write(' º Article: Cocacola º º Fiche de stockº º Ancien stock:..........º ');
gotoxy(01,05);write(' ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ');
gotoxy(01,06);write(' ');
gotoxy(01,07);write(' ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ');
gotoxy(01,08);write(' ÛÉÍÍÍÍÍÍÍÍÍÍÍËÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍËÍÍÍÍÍÍÍÍÍÍÍËÍÍÍÍÍÍÍÍÍËÍÍÍÍÍÍÍÍËÍÍÍÍÍÍÍÍÍÍÍ»Û');
gotoxy(01,09);write(' Ûº date º Dsignaton º entres º sorties º stock º nøde bon ºÛ');
gotoxy(01,10);write(' ÛÌÍÍÍÍÍÍÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÎÍÍÍÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍ͹Û');
textcolor(lightgreen);
gotoxy(70,04);readln(ancstock);
i:=11;
repeat
read(f,p);
gotoxy(03,i);write('Ûº');
textcolor(yellow);
gotoxy(06,i);writeln(p.date);
gotoxy(16,i);write('º');
textcolor(yellow);
gotoxy(17,i);writeln(p.des);
gotoxy(32,i);write('º');
textcolor(yellow);
gotoxy(33,i);writeln(p.ent:2:2);
gotoxy(44,i);write('º');
textcolor(yellow);
gotoxy(45,i);writeln(p.sort:2:2);
gotoxy(54,i);write('º');
stock:=ancstock+(p.ent-p.sort);
textcolor(lightgreen);
gotoxy(56,i);writeln(stock:2:2);
gotoxy(63,i);write('º');
textcolor(lightcyan);
gotoxy(64,i);writeln(p.numbon);
gotoxy(75,i);write('ºÛ');
textcolor(white);
i:=i+1;
until (i=40)or (eof(f));
if (i=40) or (eof(f)) then
begin
gotoxy(01,i);write(' ÛÈÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍͼÛ');
gotoxy(03,i+1);write('ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ');
gotoxy(03,i+4);write('Total des entres :........');
gotoxy(03,i+6);write('Total des sorties :........');
gotoxy(03,i+8);write('Nouveau stock :........');
totent:=(p.ent)+(p.ent);
gotoxy(23,i+4);writeln(totent :2:2);
gotoxy(03,i+10);write('Taper entrer pour continuer ');
readln;
END;
Until eof(f);
end;
procedure menucocacola;
var choix:integer;
rep:char;
begin
clrscr;
gotoxy(24,09);write(' ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ');
gotoxy(24,10);write(' º°²°²°²°²°²°²°²°²°²°²°²°²º ');
gotoxy(24,11);write(' º° °º ');
gotoxy(24,12);write(' º° COCACOLA °º ');
gotoxy(24,13);write(' º°²°²°²°²°²°²°²°²°²°²°²°²º ');
gotoxy(24,14);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,15);write(' º± 1/ Creer ±º ');
gotoxy(24,16);write(' º± ±º ');
gotoxy(24,17);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,18);write(' º± 2/ Rechercher ±º ');
gotoxy(24,19);write(' º± ±º ');
gotoxy(24,20);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,21);write(' º± 3/ Lister ±º ');
gotoxy(24,22);write(' º± ±º ');
gotoxy(24,23);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,24);write(' º± 4/ Modifier ±º ');
gotoxy(24,25);write(' º± ±º ');
gotoxy(24,26);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,27);write(' º± 5/ Retour au menu ±º ');
gotoxy(24,28);write(' ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ');
gotoxy(24,29);write(' ');
gotoxy(24,30);write(' ±±±±±±±±±±±±±±±±±±±±±±±±±± ');
gotoxy(24,31);write(' ± ÚÄ¿± ');
gotoxy(24,32);write(' ± Taper votre choix: ³ ³± ');
gotoxy(24,33);write(' ± ÀÄÙ± ');
gotoxy(24,34);write(' ±±±±±±±±±±±±±±±±±±±±±±±±±± ');
textcolor(yellow);
gotoxy(53,32);readln(choix);
textcolor(white);
case choix of
1:begin creation1;menucocacola;end;
2:begin recherche1;menucocacola;end;
3:begin affichage1;menucocacola;end;
4:begin modification1;menucocacola;end;
end;
end;
procedure menuboissons;
var choix :integer;
begin
textbackground(9);
clrscr;
textcolor(lightcyan);
gotoxy(24,08);write(' ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ');
gotoxy(24,09);write(' º²²°²°²°²°²°²°²°²°²°²°²°º ');
gotoxy(24,10);write(' º² °º ');
gotoxy(24,11);write(' º² BOISSONS °º ');
gotoxy(24,12);write(' º² °º ');
gotoxy(24,13);write(' º²²°²°²°²°²°²°²°²°²°²°²°º ');
gotoxy(24,14);write(' ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ ');
gotoxy(24,15);write(' º² ²º ');
gotoxy(24,16);write(' º² 1-Cocacola ²º ');
gotoxy(24,17);write(' º² 2-Cocalight ²º ');
gotoxy(24,18);write(' º² 3-Fanta ²º ');
gotoxy(24,19);write(' º² 4-Fanta citron ²º ');
gotoxy(24,20);write(' º² 5-Tonic ²º ');
gotoxy(24,21);write(' º² 6-Tonic citron ²º ');
gotoxy(24,22);write(' º² 7-Poms ²º ');
gotoxy(24,23);write(' º² 8-Hawai ²º ');
gotoxy(24,24);write(' º² 9-Sprite ²º ');
gotoxy(24,25);write(' º² 10-Caf ²º ');
gotoxy(24,26);write(' º² 11-Ainsaiss 1/2 ²º ');
gotoxy(24,27);write(' º² 12-Ainsaiss 3/2 ²º ');
gotoxy(24,28);write(' º² 13-Bonaqua 1/2 ²º ');
gotoxy(24,29);write(' º² 14-Bonaqua 1L ²º ');
gotoxy(24,30);write(' º² 15-Casablanca ²º ');
gotoxy(24,31);write(' º² 16-Heineken ²º ');
gotoxy(24,32);write(' º² 17-Flag special ²º ');
gotoxy(24,33);write(' º² 18-Sirop grenadine²º ');
gotoxy(24,34);write(' º² 19-Sirop menth ²º ');
gotoxy(24,35);write(' º² 20-Jus d''anannas ²º ');
gotoxy(24,36);write(' º² 21-Jus de tomates ²º ');
gotoxy(24,37);write(' º² ²º ');
gotoxy(24,38);write(' ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ');
gotoxy(24,39);write(' ÚÄÄÄ¿ ');
gotoxy(24,40);write(' Taper votre choix:³ ³ ');
gotoxy(24,41);write(' ÀÄÄÄÙ ');
textcolor(yellow);
gotoxy(24,44);readln(choix);
textcolor(white);
case choix of
1:begin menucocacola;menuboissons;end;
end;
End;
procedure menu;
var choix:integer;
begin
textbackground(1);
clrscr;
gotoxy(24,03);write('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»');
gotoxy(24,04);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(24,05);write('º±ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿±º');
gotoxy(24,06);write('º±³ * Menu Principal * ³±º');
gotoxy(24,07);write('º±³ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ³±º');
gotoxy(24,08);write('º±ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´±º');
gotoxy(24,09);write('º±³ ³±º');
gotoxy(24,10);write('º±³ 1-ALIMENTATIONS ³±º');
gotoxy(24,11);write('º±³ ³±º');
gotoxy(24,12);write('º±³ 2-BOISSONS ³±º');
gotoxy(24,13);write('º±³ ³±º');
gotoxy(24,14);write('º±³ 3-VINS ³±º');
gotoxy(24,15);write('º±³ ³±º');
gotoxy(24,16);write('º±³ ³±º');
gotoxy(24,17);write('º±ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ±º');
gotoxy(24,18);write('º± ÚÄÄÄ¿ ±º');
gotoxy(24,19);write('º± Taper votre choix SVP : ³ ³ ±º');
gotoxy(24,20);write('º± ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ÀÄÄÄÙ ±º');
gotoxy(24,21);write('º±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±º');
gotoxy(24,22);write('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ');
textcolor(yellow);
gotoxy(36,06);write('MENU PRINCIPAL');
textcolor(lightred);
gotoxy(34,10);write('ALIMENTATIONS');
textcolor(lightcyan);
gotoxy(34,12);write('BOISSONS');
textcolor(lightgreen);
gotoxy(34,14);write('VINS');
textcolor(yellow);
gotoxy(54,19);readln(choix);
textcolor(white);
case choix of
2:begin menuboissons;menu;end;
3:begin menuvins;menu;end;
end;
end;
begin
assign(F,'e:\fstock.dat');
menu;
close(f);
end. |
Partager