代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/305190/13777281
m subsref.m
function out = subsref(model,s)
%BILIN/SUBSREF Subscript referencing method for BILIN object.
%
% CUED System Identification Toolbox.
% Cambridge University Engineering Department.
% Copyright (C) 1
www.eeworm.com/read/305148/13778327
cpp hanno.cpp
#include
void movedisc(unsigned n,char fromneedle,char toneedle,char usingneedle);
int i=0;
void main()
{
unsigned n;
printf("please enter the number of disc:");
scanf("%d",&n
www.eeworm.com/read/304826/13786178
txt 10-10.txt
%例10-10 switch - case - otherwise - end分支语句的使用。
function lower1(method)
switch method
case {'linear','bilinear'}
disp('Method is linear')
case 'cubic'
www.eeworm.com/read/304476/13793787
plg test.plg
礦ision2 Build Log
Project:
C:\keil program\chapter7\example 7-2\Test.uv2
Project File Date: 05/25/2006
Output:
Build target 'Target 1'
compil
www.eeworm.com/read/303498/13814509
m e0314.m
n=input('n=')
if n100
disp ('Error')
else
i=fix(n/10);
switch i
case {9,10}
disp('A')
case 8
disp ('B')
case 7
disp('C')
case 6
www.eeworm.com/read/303128/13821237
js number.js
// JavaScript Document
function checkcar()
{
var omit=form10.country.value;
var city=form10.city.value;
switch (omit)
{
case "京":
form10.answer.value="北京";
break;
www.eeworm.com/read/303128/13821335
js number.js
// JavaScript Document
function checkcar()
{
var omit=form10.country.value;
var city=form10.city.value;
switch (omit)
{
case "京":
form10.answer.value="北京";
break;
www.eeworm.com/read/302709/13828326
idl megacomessage.idl
// ``The contents of this file are subject to the Erlang Public License,
// Version 1.1, (the "License"); you may not use this file except in
// compliance with the License. You should have received a
www.eeworm.com/read/302615/13831190
m exp2_14.m
clear
clc
close
t=-pi:0.1:pi;
trigname=input('Input trig functions name:')
switch trigname
case 'sin'
plot(t,sin(t))
case 'cos'
plot(t,cos(t))
otherwise
break %终止,跳出switch语句
end
www.eeworm.com/read/302615/13831279
txt ch2_17.txt
clear
clc
close
t=-pi:0.1:pi;
trigname=input('Input trig functions name:')
switch trigname
case 'sin'
plot(t,sin(t))
case 'cos'
plot(t,cos(t))
otherwise
break %终止,跳出switch语句
end