代码搜索结果
找到约 820,005 项符合
if 的代码
if.vb
' FastScript v1.0
' 'If' operator demo
dim i
i = 10
if i = 10 then i = 1
if i = 1 then
ShowMessage(1)
elseif i = 2 then
ShowMessage(2)
elseif i =
if.pas
{**************************}
{ FastScript v1.0 }
{ 'If' operator demo }
{**************************}
var
i: Integer;
procedure OK(n: Integer);
begin
ShowMessage(n);
end
if.h
/* $USAGI: if.h,v 1.1 2001/01/22 03:46:03 yoshfuji Exp $ */
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free softwar
if.h
/* $USAGI: if.h,v 1.3 2001/02/23 13:52:59 yoshfuji Exp $ */
/* net/if.h -- declarations for inquiring about network interfaces
Copyright (C) 1997,98,99,2000,2001 Free Software Foundation, Inc.
bttv-if.c
/*
bttv-if.c -- old gpio interface to other kernel modules
don't use in new code, will go away in 2.7
have a look at bttv-gpio.c instead.
bttv - Bt848 frame grabber driver
C
if-2.m
if (eye (2))
printf ("fail\n");
else
printf ("pass\n");
end
if-3.m
x = 2;
if (eye (2))
printf ("fail\n");
elseif (x)
printf ("pass\n");
endif
if-4.m
x = 0;
y = -2;
if (eye (2))
printf ("fail\n");
elseif (x)
printf ("fail\n");
elseif (y)
printf ("pass\n");
end
if-1.m
i = 0;
if (i == 0)
i++;
printf ("%d\n", i);
endif
if.exp
set test if-1
set prog_output "1"
do_test if-1.m
set test if-2
set prog_output "pass"
do_test if-2.m
set test if-3
set prog_output "pass"
do_test if-3.m
set test if-4
set prog_output "pass"
do_test