TIP: Click on subject to list as thread! ANSI
echo: delphi
to: MAJED AL-HAJ
from: JAMES BENDALL
date: 1997-12-08 22:44:00
subject: PASCAL

Hi Majed!
06 Dec 97 12:52, Majed Al-Haj wrote to All:
MAH> and such as make the program just accept in ID rank just 5 digit
MAH> and in the NAME rank accept in the reading just 40 char..
Try something like this:
program test;
uses dos,strings,crt;
var
chi:char;
hello:string[3];
counter:integer;
begin
WriteLn('Please Enter thingy');
Counter := 1;
while counter  4 do
begin
chi := ReadKey;
hello := hello + chi;
Write(chi);
counter := counter + 1;
end;
writeln;
writeln('Entered = ',hello);
end.
--
JamesB //
[I don't suffer from insanity.. I enjoy every moment of it]
--- FMailX 1.22
---------------
* Origin: The Axiom : 44-1242-693785 : (2:253/9)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.