代码搜索:CASE
找到约 10,000 项符合「CASE」的源代码
代码结果 10,000
www.eeworm.com/read/338159/3320075
vb case.vb
' FastScript v1.0
' 'Case' operator demo
dim i = 0, j
select case i
case 1: j = 1
case 2..10: j = 2: Inc(j)
case else: j = 10
end select
ShowMessage(j)
www.eeworm.com/read/338159/3320090
pas case.pas
{**************************}
{ FastScript v1.0 }
{ 'Case' operator demo }
{**************************}
var
i, j: Integer;
begin
i := 0;
case i of
1: j := 1;
2.
www.eeworm.com/read/329537/3430931
c case.c
int
foo (void)
{
if (0)
{
switch (x)
{
case 1:
++x;
break;
case 1:
{
++x;
break;
}
}
}
}
www.eeworm.com/read/329537/3430992
c case.c
int foo(void)
{
if (0) {
switch (x)
{
case 1:
++x;
break;
case 1:
{
++x;
break;
}
}
}
}
www.eeworm.com/read/324136/3506053
test case.test
# Commands covered: case
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. N
www.eeworm.com/read/324136/3506323
n case.n
'\"
'\" Copyright (c) 1993 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\"
'\" See the file "license.terms" for information on usage and redistribut
www.eeworm.com/read/321483/3535278
t case.t
#!./perl
BEGIN {
chdir 't' if -d 't';
if ($^O eq 'MacOS') {
@INC = qw(: ::lib ::macos:lib);
} else {
@INC = '.';
push @INC, '../lib';
}
require Config; import Config;
www.eeworm.com/read/318815/3562246
java case.java
package com.javapatterns.visitor.inventory;
public class Case extends Equipment
{
public double price()
{
return 30.00;
}
public void accept(Visitor v)
{
Sy
www.eeworm.com/read/318815/3562257
java case.java
package com.javapatterns.visitor.parts;
public class Case extends Equipment
{
public double price()
{
return 30.00;
}
}