帮助 - 数组=无 - 我如何抓住 [英] Help - Array = Nothing - How do I catch
问题描述
我有一个函数返回一个字符串值数组,偶尔
返回的数组值为''Nothing''
我需要检查值是否为继续前进之前什么都没有 - 我该怎么办呢?这个 - 我看过的所有选项似乎都不合适吗? (vb2005)
谢谢
Pete
嗯......怎么样 :
变量什么都不是
" xla76" < pe ********* @ gmail.com写信息
新闻:11 ********************* *@38g2000cwa.googlegro ups.com ...
>我有一个函数返回一个字符串值数组,偶尔
返回的数组值是''Nothing''
我需要在继续之前检查值是否为空 - 我该怎么办
这个 - 没有选项我看起来似乎很合适? (vb2005)
谢谢
Pete
< blockquote> Doh!
谢谢
Stephany Young写道:
Ummmmm ...如何关于 :
变量是否无
" xla76" < pe ********* @ gmail.comschrieb:
>我有一个函数返回一个字符串值数组,偶尔
返回的数组值为''Nothing''
\\\
如果s(n )IsNot Nothing Then
...
结束如果
///
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL :http://classicvb.org/petition/>
I have a function that returns an array of string values, occasionally
the returned array value is ''Nothing''
I need to check if the value is nothing before moving on - how can I do
this - none of the options i''ve looked at seems to fit? (vb2005)
Thanks
Pete
Ummmmm ... How about:
variable Is Nothing
"xla76" <pe*********@gmail.comwrote in message
news:11**********************@38g2000cwa.googlegro ups.com...>I have a function that returns an array of string values, occasionally
the returned array value is ''Nothing''
I need to check if the value is nothing before moving on - how can I do
this - none of the options i''ve looked at seems to fit? (vb2005)
Thanks
Pete
Doh!
Thanks
Stephany Young wrote:
Ummmmm ... How about:
variable Is Nothing
"xla76" <pe*********@gmail.comschrieb:>I have a function that returns an array of string values, occasionally
the returned array value is ''Nothing''\\\
If s(n) IsNot Nothing Then
...
End If
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
这篇关于帮助 - 数组=无 - 我如何抓住的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!