tagCANDY CGI VBレスキュー(花ちゃん) の Visual Basic 2010 用 掲示板(VB.NET 掲示板)
VBレスキュー(花ちゃん) の Visual Basic 2010 用 掲示板(VB.NET 掲示板)
[ツリー表示へ]  [ワード検索]  [Home]

タイトル 文字列の容量
投稿日: 2009/03/14(Sat) 06:37
投稿者れお♪
Option Strict On
Public Class Form1
    Private x, x1, y, y1 As Integer
    Private counto As Integer = 1
    Private Const yomikomiSuu As Integer = 3
    Private dataa As Integer
    Private mojii As String = "000000020020040070100100125211140000000000"
    Private data_suu As Integer = 5

    Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
        For ii As Integer = 0 To data_suu
            hyouji()
            line(e.Graphics)
            counto -= yomikomiSuu
        Next
    End Sub
    Private Sub dainyuu()
        dataa = CInt(Mid(mojii, counto, yomikomiSuu))
    End Sub
    Private Sub line(ByVal g As Graphics)
        g.DrawLine(Pens.Green, x, x1, y, y1)
    End Sub
    Private Sub hyouji()
        dainyuu()
        x = dataa
        counto += yomikomiSuu
        dainyuu()
        x1 = dataa
        counto += yomikomiSuu
        dainyuu()
        y = dataa
        counto += yomikomiSuu
        dainyuu()
        y1 = dataa
    End Sub
End Class
この場合のmojiiの""の中の数字の容量は最大どれくらい入りますか?
オーバー風呂の数字が知りたいなぁ〜

- 関連一覧ツリー をクリックするとツリー全体を一括表示します)

古いスレッドにレスはつけられません。