代码搜索结果

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

基本语法.txt

条件分支 if(条件) { 语句1 } else { 语句2 } switch(条件) { case 0:语句1;break; case 1:语句2;break; ... case n:语句n;break; default:语句n+1;break; } 循环 for(初始化部分(可选);i

验证电子邮件(email).txt

  //E-mail的正确性   function check_email(address)   {    if ((address =="")||(address.indexOf("@") == -1)||(address.indexOf('.') == -1))    return false;    else    return true;   }

intel网站.js.txt

//additional function to restore page after a resize event on ns4 // to use, put onResize="restore()" into body tag function restore() { if (ns4) { if (GetCookie('intelresize') == null) {

获得用户选择项列表.txt

for(int i = 0; i < CheckBoxList1.Items.Count; i++){ if(CheckBoxList1.Items[i].Selected) Label2.Text = Label2.Text + CheckBoxList1.Items[i].Text + "";

是否是第一次再载页面.txt

if (!IsPostBack) { lblURL.Text = Request.Url + ""; DataList1.DataSource = CreateDataSource(); DataList1.DataBind(); }

treeview的节点定位.txt

Microsoft.Web.UI.WebControls.TreeView TreeView的节点定位 if(!Page.IsPostBack) { if(Session["SeetCorp_Finish_Jump"]!=null)//是从公司设置页跳来 { TreeView1.SelectedNodeIndex = "4.1"; Sessi

localdefs.in

#! /bin/sh # See if there are any definitions from the sock implementation if test -s src/mpid/common/sock/@sock_name@/localdefs ; then . src/mpid/common/sock/@sock_name@/localdefs fi

mpidu_socki_conf.h.in

/* mpidu_socki_conf.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_ASSERT_H /* Define to 1 if you have the head

mpid_locksconf.h.in

/* mpid_locksconf.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the `compare_and_swap' function. */ #undef HAVE_COMPARE_AND_SWAP /* Define to 1 if you have the `mu