代码搜索结果

找到约 820,005 项符合 if 的代码

international.js

function getLanguageString(language,id) { if(language=="EN") { if(id=='101') return "新建"; if(id=='102') return "打开"; if(id=='103') return "打印"; if(id=='104') return "剪切";

simplepizzafactory.java

package headfirst.factory.pizzas; public class SimplePizzaFactory { public Pizza createPizza(String type) { Pizza pizza = null; if (type.equals("cheese")) { pizza = new CheesePizza(); } e

nypizzastore.java

package headfirst.factory.pizzafm; public class NYPizzaStore extends PizzaStore { Pizza createPizza(String item) { if (item.equals("cheese")) { return new NYStyleCheesePizza(); } else if (it

dependentpizzastore.java

package headfirst.factory.pizzafm; public class DependentPizzaStore { public Pizza createPizza(String style, String type) { Pizza pizza = null; if (style.equals("NY")) { if (type.equals("ch

webuivalidation.js

var Page_ValidationVer = "125"; var Page_IsValid = true; var Page_BlockSubmit = false; function ValidatorUpdateDisplay(val) { if (typeof(val.display) == "string") { if (val.displa

smartnav.js

var snSrc; if (window.__smartNav == null) { window.__smartNav = new Object(); window.__smartNav.update = function() { var sn = window.__smartNav; var fd; do

islist.m

function B = islist(variable) % RECVAR, A package for new data types in Matlab 4. % (c) FOA 1997. See the file rvright.m for copyright notice. % % function B = islist(variable) % % Returns 1 if the

趋势面分析m2.bas

Attribute VB_Name = "modMethod" '趋势面分析 Option Explicit '计算X和Y的乘幂 Public Sub Power(X, Y, I0, E, F) Dim a As Integer, C As Integer a = 0 SS1: If ((a + 1) * (a + 2)) / 2 >= I0 Then

landmine.c

/* * Landmine, the game. * Written for mini-X by David I. Bell. */ #include #include #include #if UNIX #include #include #include #end

test.c

/* * Copyright (c) 1999 Greg Haerr * * Test for select() */ #include #include #include #include #if UNIX #include #includ