Sub select多条件判断()
Select Case Sheet1.[b1].Value
Case Is > 0
MsgBox "大于0"
Case Else
MsgBox "小于或等于0"
End Select
End Sub
Sub select多条件判断2()
Select Case Sheet1.[b1].Value
Case "12"
Sheet1.[a1] = "你输入的值...
分类:
编程语言 时间:
2015-05-01 12:02:52
阅读次数:
177
判断登陆的调用#if(${islogin}) ${Oct_Welcome} or ${Oct_LogOut}#else ${Oct_Sign_In} or ${Oct_Register}#endView Code
分类:
其他好文 时间:
2015-05-01 12:01:40
阅读次数:
143
CASE命令有两种语句格式。语法形式1:CASE expressionWHEN expression_11 THEN expression_12…WHEN expression_n1 THEN expression_n2[ELSE expression_m]END该语句的执行过程是:将CASE后面表...
分类:
其他好文 时间:
2015-05-01 11:55:42
阅读次数:
116
addBookmark(document.tittle);function addBookmark(title){var url=parent.location.href;if(window.sidebar){window.sidebar.addPanel(title,url,"")}else if...
分类:
Web程序 时间:
2015-05-01 09:20:37
阅读次数:
161
if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMS...
分类:
Web程序 时间:
2015-05-01 09:19:23
阅读次数:
158
本文展示加法和乘法的两个例子,最后使用MapReduce的思想把两者统一成一个带Currying的表达形式。从high-order functions推演到Currying原始方法def sum(f: Int => Int, a: Int, b: Int): Int =
if (a > b) 0
else f(a) + sum(f, a + 1, b)表示从a到b,把每个int做一次f处理,...
分类:
其他好文 时间:
2015-05-01 00:42:36
阅读次数:
155
socket超时设置ini_set("default_socket_timeout", -1);stream_set_timeout$fp = fsockopen("www.example.com", 80);if (!$fp) { echo "Unable to open\n";} else...
分类:
Web程序 时间:
2015-05-01 00:29:34
阅读次数:
225
aa = (1, 2, 3, 4, 5, 6)b = [(x == 5 and 8 or x) for x in aa]z = map(lambda x: 8 if x == 5 else x, [i for i in b])print(b)print(z)
分类:
编程语言 时间:
2015-04-30 23:16:19
阅读次数:
567
public class Solution { public boolean isHappy(int n) { int sum=0; if(n==1||n==7) return true; else if(n>1&&n0){ ...
分类:
移动开发 时间:
2015-04-30 23:07:25
阅读次数:
144
1、自己练习#!/bin/bash
a=0
while:
do
a=`expr$a+1`
if[$a-lt4]
then
echo-n-e"输入号码1到9\n"
readNum
case$Numin
1|2|3|4|5|6|7|8|9)echo-e"younumberis:$Num!"
;;
*)echo"r错误号码,游戏结束!"
break
;;
esac
else
echo"你的次数到了"
break
fi
done
分类:
系统相关 时间:
2015-04-30 20:21:04
阅读次数:
168