🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.visual-basic
Article #20568

Re: ��̡�ȡString����е�ij����ĸ�ķ�����ʲô��

#20568
From: arar
Date: Tue, 12 Aug 2003 00:54
25 lines
1230 bytes
����õ�a�ĵ�һλ��ascii�� 68

Private Sub Command1_Click()
Dim a As String
Dim b As Integer
a = "hehe123"
b = CLng(Mid(a, 1, 1))
End Sub


->b=clng(mid(a,1,1))


run time error.
type mismatch. 
�

� �� laotao (С��) �Ĵ������ᵽ: ��
:  cint/clng


--

�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 202.112.26.39]
Technical Details
Message-ID: <000000$5Kx@smth.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!maily.cic.tsinghua.edu.cn!SMTH

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 109fdd,99a317f7daa07996,start
X-Google-Attributes: gid109fdd,public
X-Google-ArrivalTime: 2003-08-11 17:55:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!maily.cic.tsinghua.edu.cn!SMTH
From: arar@smth.org (arar)
Newsgroups: cn.bbs.comp.lang.visual-basic
Subject: Re: ��̡�ȡString����е�ij����ĸ�ķ�����ʲô��
Date: 12 Aug 2003 00:54:35 GMT
Organization: BBS ˮľ�廪վ
Message-ID: <000000$5Kx@smth.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: VisualBasic/r/M.1060649372.Q0
Lines: 25