VB.Net 2005 [英] VB.Net 2005

查看:60
本文介绍了VB.Net 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道微软是否会支持二进制操作,例如:


如果(a和%1100110011110000)= 0,则将a d a a short

,然后

..........

休斯顿的丹尼斯

解决方案

< blockquote> * =?Utf-8?B?RGVubmlz?=< De **** @ discussion.microsoft.com> scripsit:

有没有人知道微软是否会支持二进制操作,例如:

如果(a和%1100110011110000)= 0,则调暗a
那么




AFAIK号。


-

Herfried K. Wagner [MVP]

< URL:http://dotnet.mvps.org/>


很抱歉听到这个消息。与各种算子直接按位是VB中为数不多的弱点之一。

-

休斯顿的丹尼斯

" Herfried K.瓦格纳[MVP]"写道:

* =?Utf-8?B?RGVubmlz?=< De **** @ discussion.microsoft.com> scripsit:

有没有人知道微软是否会支持二进制操作,例如:

如果(a和%1100110011110000)= 0,则调暗a
然后



AFAIK没有。

- Herfried K. Wagner [MVP]
< URL:http:// dotnet .mvps.org />



我在这里很困惑,我以为它确实了!


dim a as integer = 15

dim b as integer = 3

dim r as integer

r = a和b

''现在= 3不是你想要的?


疑惑


家伙


Herfried K. Wagner [MVP]"写道:

* =?Utf-8?B?RGVubmlz?=< De **** @ discussion.microsoft.com> scripsit:

有没有人知道微软是否会支持二进制操作,例如:

如果(a和%1100110011110000)= 0,则调暗a
然后



AFAIK没有。

- Herfried K. Wagner [MVP]
< URL:http:// dotnet .mvps.org />



Does anyone know if Microsoft will have support for binary operations such as:

Dim a as short
if (a and %1100110011110000) = 0, then
..........
Dennis in Houston

解决方案

* =?Utf-8?B?RGVubmlz?= <De****@discussions.microsoft.com> scripsit:

Does anyone know if Microsoft will have support for binary operations such as:

Dim a as short
if (a and %1100110011110000) = 0, then



AFAIK no.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Sorry to hear that. Direct bitwise with the various operators is one of the few remaining weakness of VB.
--
Dennis in Houston
"Herfried K. Wagner [MVP]" wrote:

* =?Utf-8?B?RGVubmlz?= <De****@discussions.microsoft.com> scripsit:

Does anyone know if Microsoft will have support for binary operations such as:

Dim a as short
if (a and %1100110011110000) = 0, then



AFAIK no.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



I am confused here, i thought it did!

dim a as integer = 15
dim b as integer = 3
dim r as integer
r = a and b
'' r now = 3 isnt thsi what you want?

puzzled

guy

"Herfried K. Wagner [MVP]" wrote:

* =?Utf-8?B?RGVubmlz?= <De****@discussions.microsoft.com> scripsit:

Does anyone know if Microsoft will have support for binary operations such as:

Dim a as short
if (a and %1100110011110000) = 0, then



AFAIK no.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



这篇关于VB.Net 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆