![]() |
新闻 | 体育 | 财经 | 娱乐 | 商业 | 科技 | 汽车 | 数码 | 女人 | 旅游 | 教育 | 文化 | 广州 | 军事 | 部落 评论 | NBA | 明星 | 证券 | 基金 | 探索 | 房产 | 手机 | 两性 | 健康 | 培训 | 电影 | 游戏 | 拍卖 | 论坛 |
![]() |
·工具软件·办公软件·操作系统·图形图像·网站建设·编程开发·多媒体·网络·病毒 |
| ·学院首页·精选专题·艺术设计·电子杂志·教授视点·教授名录·软件新闻·论坛 |
火眼识破隐藏的Variant变量
| Dim name ’ this is a variant |
| Dim x, y As Integer |
| Dim x As Integer, y As Integer |
| If (loopNdx Mod 10) = 0 Then DoEvents |
| Declare Function GetInputState Lib "user32" Alias "GetInputState" () As Long ’ ... If GetInputState() Then DoEvents |
| value# = value# + 1#. |
| Const ONE As Double = 1 |
| If intValue And &H8000 Then ’ most significant bit is set End If If lngValue And &H80000000 Then ’ most significant bit is set End If |
| If anyValue < 0 Then ’ most significant bit is set End If |
| If (x < 0 And y < 0) Or (x >= 0 And y >=0) Then ... ’ the optimized approach If (x Xor y) >= 0 Then |
| If x >= 0 And y >= 0 And z >= 0 Then ... ’ the optimized approach If (x Or y Or z) >= 0 Then ... |
| If x < 0 And y < 0 And z < 0 Then ... ’ the optimized approach If (x And y And z) < 0 Then ... |
| If x = 0 And y = 0 And z = 0 Then ... ’ the optimized approach If (x Or y Or z) = 0 Then ... |
| If x = 0 And y = 0 And z = 0 Then ... ’ the optimized approach If (x Or y Or z) = 0 Then ... |
| If x <> 0 And y <> 0 Then If (x And y) Then ... |
| If (x <> 0) And y Then ... |
推荐文章: