代码搜索:else
找到约 10,000 项符合「else」的源代码
代码结果 10,000
www.eeworm.com/read/131795/14124663
dat errorass8.dat
错误信息: Already had ELSE clause
中文注释: 在ELSE从句中试图定义ELSE从句
www.eeworm.com/read/131191/14157131
txt 4.txt
var a,b;
begin
a:=25;
if a=1 then b:=2 else b:=3;
write(a,b)
end.
www.eeworm.com/read/233248/14161560
m modulus.m
function z=modulus(x)
%z=sqrt(x(:,1).^2+x(:,2).^2+x(:,3).^2);
[m n]=size(x);
if n==3,
z=sqrt(x(:,1).^2+x(:,2).^2+x(:,3).^2);
else
z=sqrt(x(1,:).^2+x(2,:).^2+x(3,:).^2);
end
www.eeworm.com/read/130817/14173557
m sub6p4.m
function yp=sub6p4(x,v)
if(v~=1)
yp=2*x/log(v)
else
yp=1
end
www.eeworm.com/read/130817/14173562
asv sub6p4.asv
function yp=sub6p4(x,v)
if(v~=1)
yp=2*x/log(v)
else
end
www.eeworm.com/read/232704/14185220
m control.m
function y=control(n)
a=20;
if n==0
y=a+1;
elseif n==1
y=a*(1+n);
elseif n==2
y=a+n;
else
y=a;
end
www.eeworm.com/read/130378/14196327
txt input.txt
//this program is for testing purpose
a=10;
b=20;
while(a)//loop
{
if(a
www.eeworm.com/read/231652/14225140
pas ac1351.pas
program ural1351;
var
d,x1,y1,x2,y2,n,i,x,y:longint;
begin
read(d,x1,y1,x2,y2,n);d:=d*d;
if x1*y2=x2*y1 then
for i:=1 to n do begin
read(x,y);
if (x1*y=x*y1) and (x1*x+y1
www.eeworm.com/read/231652/14225220
pas ac1221.pas
program ural1221;
const
maxn=100;
var
map,s1,s2,s3,s4:array[1..maxn,1..maxn]of byte;
n,i,j,ans:byte;
begin
repeat
read(n);
if n=0 then halt;
for i:=1 to n do
for j
www.eeworm.com/read/230954/14264516
awk tomatlab.awk
{
if (NR==1) {
printf("J=zeros(%d,%d);\n",$1,$2);
}
else if ($1!=0) {
printf("J(%d,%d)=%s;\n",$1,$2,$3);
}
}
END {
printf("J=sparse(J);\n");
}