代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch.c
#include
#include
#include
#include
#include "view.h"
#include "mdi.h"
#include "icon.h"
#include "switch.h"
static an_MDI_icon *MDI_Icon;
#def
switch.c
/* Beispiel einer switch-Verzweigung*/
#include
int main()
{
int zahl;
printf("Geben Sie eine Zahl zwischen 1-5 ein : ");
scanf("%d",&zahl);
switch(zahl)
{
cas
make-switch.pl
#!/usr/local/bin/perl -w
#
# Create link and execute definitions for switch dispatch method.
# Copyright (c) 1998 New Generation Software (NGS) Oy
#
# Author: Markku Rossi
#
#
#
switch.s
/ switch -- switch on contents of r0
/
/
/ calling sequence --
/
/ jsr r5,switch; swtab
/
/ r0 is looked up in swtab and if found
/ control is returned to the corresponding place
/ if r0 is not foun
switch.java
package jvm;
public class Switch extends TestCase {
public String getName() {
return "Switch";
}
public boolean test() {
boolean ok = true;
ok = ok && (sw(2)==20);
ok = ok && (sw(3
switch.inc
;***
; SWITCH.INC - 01-Oct-87 - BASCOM compiler and runtime common switch file
;***
.XLIST
;***
;
; Copyright 1987, Microsoft Corporation
;
;Purpose:
;
;********************************
switch.h
/***
* switch.h
*
* Copyright 1985, 1986, 1987 Microsoft Corporation
*
*******************************************************************************/
/*=================================
switch.inc
;***
;switch.inc - see switch.h for real definitions of switches
;
; Copyright 1985, 1986, 1987 Microsoft Corporation
;
;
;******************************************************************
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;