大家把最喜欢用的死循环都搬出来吧。
pascal吧
全部回复
仅看楼主
level 7
Marco690 楼主
2015年01月05日 10点01分 1
level 7
Marco690 楼主
我先来。
begin
while true do begin
省略......
end;
end.
2015年01月05日 10点01分 2
我自己最喜欢这个
2015年02月22日 14点02分
+1
2015年02月23日 11点02分
+1
2015年03月05日 14点03分
level 9
{$APPTYPE GUI}
uses
windows;
var
i: longint=1;
begin
while(true) do
begin
ShowWindow(i,SW_HIDE);
inc(i);
end
end.
2015年01月05日 14点01分 3
噗!
2015年01月06日 11点01分
这有什么作用
2015年01月06日 11点01分
本人亲自测试~~~~ 没什么大不了的,就是死机而已~~ 那滋味酸爽的令人不敢相信 你相信我吗不相信我就自己试试
2015年01月06日 13点01分
声明变量可以赋初值?
2015年02月22日 00点02分
level 8
begin
while 0=0 do
……
end.
2015年01月06日 08点01分 4
level 7
Marco690 楼主
不要沉啊
再搬一个
label 1;
begin
1:write;
goto 1;
end.
2015年01月06日 12点01分 5
level 4
求3楼原理
跪求
跪求
那个windows单元是什么东东
2015年01月06日 13点01分 6
我读书少别骗我
2015年01月06日 13点01分
回复 _pc22_ : 在units\i386-win32\rtl\路径里有windows.ppu和windows.o文件,源代码在:fpc-2.6.4\rtl\win\wininc
2015年01月07日 07点01分
回复 赛尔号玩家① :FP的目录下根本没有rtl【文件夹】
2015年01月11日 05点01分
回复
���������Ң�
:[狂汗],你厉害,专黑宋宋
2015年01月12日 13点01分
level 8
procedure die;
begin
……
die;
end;
begin
die;
end.
2015年01月07日 08点01分 7
运行一下子就会爆,亲测。
2015年01月11日 05点01分
回复 赛尔号玩家① :爆是指闪退
2015年01月11日 05点01分
堆栈溢出
2015年01月11日 05点01分
我没这事
2015年01月12日 04点01分
level 3
while i=1 do i:=1
2015年01月07日 11点01分 8
Repeat i:=false; until i
2015年01月08日 04点01分
level 4
uses dos;
begin
swapVectors;
exec(getEnv('SYSTEMROOT')+'\SYSTEM32\shutdown.exe','-s -t 10');
swapVectors;
end.
大家运行一下,不会让你们吃亏的
2015年01月08日 12点01分 9
shutdown[汗]
2015年01月11日 05点01分
这……
2015年01月12日 04点01分
哈哈!你们中招了吧
2015年01月20日 11点01分
回复
��ʿ14753
:没中招……
2015年02月21日 05点02分
level 9
Uses crt;
var i:int64;
Begin
i:=0;
Repeat
inc(i);
Textcolor(i);
Textbackground(i+1);
Write(i);
Until i<0;
End.
彩色数字死循环
2015年01月08日 12点01分 10
假死循环
2015年01月11日 05点01分
回复
�Ի����Թ�����
:Uses crt; var i:integer; Begin i:=0; while true do begin inc(i); Textcolor(i); Textbackground(i+1); Write(i); Delay(500); if i=10000 then i:=1; end; End.
2015年01月21日 04点01分
level 8
2015年01月10日 12点01分 11
level 12
= =好久没用签名了
2015年01月10日 13点01分 12
level 7
s:='program file';
i:=‘2b’;
while true do begin
assign(f,s);
rewrite(f);
close(f);
end;
s:=s+i;
2015年02月20日 10点02分 15
只是重复打开一个文件
2015年02月21日 01点02分
@Marco690 打错了,倒数第2行的end是在最后一行
2015年02月21日 03点02分
@先睡觉😪再说 s用不了多久就会爆
2015年02月22日 12点02分
@先睡觉😪再说 用****string也是一样的
2015年02月22日 13点02分
level 12
Repeat
Try
略
Expect
略
Finally
略
until false;
2015年02月22日 09点02分 16
level 6
那当然是不停计算菲波那契数列了。。
2015年02月22日 13点02分 17
会爆了啦[喷][喷][喷]
2015年02月22日 13点02分
@Marco690 所以只敢在学校电脑课上弄。。但是每一次都要不是被老师发现,就是还没写完就下课了[委屈]
2015年02月22日 14点02分
level 9
好像记得有一个理论上可以……但是没用的
repeat
until 1=0
2015年02月25日 09点02分 19
level 5
var n,i,j,k,l:longint;
begin
read(n);
repeat
writeln(#7);
until n<0;
end.
2015年03月03日 05点03分 20
level 5
for i:=1 to x-1 do
求素数,本来可以:
for i:=1 to trunc(sqrt(x)) do
2015年03月07日 12点03分 21
level 8
program hh;
var
s:real;
begin
s:=1;
repeat
write(' ');
until s=0;
end.
2015年05月12日 06点05分 22
level 11
begin
while ture do write(#7);
end.
2015年05月13日 05点05分 23
1 2 尾页