
Gửi bởi
băng_tuyết
chữ chạy liên tục anh ạ. e thử viết chương trình như của anh HappySoftGroup nhưng mà không được.
Sao không em! [IMG]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAA l21bKAAAAA1BMVEXh5PJm+yKVAAAAAXRSTlMAQObYZgAAAApJR EFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=[/IMG] Đưa Procedure ChayChu vào vòng lặp là nó chạy vô tư luôn. Nếu không có điều kiện dừng thì nó chạy mãi mãi luôn. Kaka [IMG]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAA l21bKAAAAA1BMVEXh5PJm+yKVAAAAAXRSTlMAQObYZgAAAApJR EFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=[/IMG]
Ví dụ nhá:
Chạy Chữ Version 1.1
Mã:
Program HappySoftGroup_Diendantinhoc;
Uses Crt;
Var s : String;
n : Byte;
Procedure ChayChu(Var s : String; Var dong : Byte);
Var s1 : String;
i : Byte;
Begin
s1 := '';
For i := 80 downto 80 - Length(s) do
Begin
TextColor(Yellow);
GotoXY(30, 1);
Writeln('Chay Chu Ver 1.1.');
TextColor(Red);
GotoXY(30, 2);
Write('====== o0o ======');
GotoXY(i, dong);
s1 := s1 + s[81-i];
TextColor(5);
Write(s1);
Delay(100);
Clrscr;
If KeyPressed then Halt;
End;
For i := (80 - Length(s)) downto 1 do
Begin
TextColor(Yellow);
GotoXY(30, 1);
Writeln('Chay Chu Ver 1.1.');
TextColor(Red);
GotoXY(30, 2);
Write('====== o0o ======');
GotoXY(i, dong);
TextColor(5);
Write(s);
Delay(100);
Clrscr;
If KeyPressed then Halt;
End;
s1 := s;
For i := Length(s) downto 1 do
Begin
TextColor(Yellow);
GotoXY(30, 1);
Writeln('Chay Chu Ver 1.1.');
TextColor(Red);
GotoXY(30, 2);
Write('====== o0o ======');
GotoXY(1, dong);
Delete(s1, length(s1)-i, 1);
TextColor(5);
Write(s1);
Delay(100);
Clrscr;
If KeyPressed then Halt;
End;
End;
BEGIN
Clrscr;
Write('Nhap text: '); Readln(s);
Write('Nhap dong: '); Readln(n);
Repeat
ChayChu(s, n);
Until keypressed;
END.
Phái đẹp hiện thời có nhu cầu dùng đồ chơi tình dục nữ ngày một cao và luôn đòi hỏi các chức năng tiên tiến hơn. Tuy nhiên vẫn có những người chưa biết dùng như thế nào cho đúng cách. Sau đây, chúng...
Khám phá các dòng đồ chơi tình dục nữ an toàn, dễ sử dụng, dễ đạt khoái cảm nhất hiện nay