Contents

Develop
2003.04.23 00:03

[vb] 비주얼 베이직 131페이지

조회 수 58041 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
DefSng A-Z
Dim a(10) As String, b(10), c(10), d(10), e(10), f(10), pc, tot
Private Sub Command1_Click()
    pc = pc + 1

    a(pc) = Text1.Text
    b(pc) = Text2.Text
    tot = tot + b(pc)
    Text1.Text = ""
    Text2.Text = ""

    Text1.SetFocus
End Sub

Private Sub Command2_Click()

For i = 1 To pc
    c(i) = b(i) * 1000
    d(i) = Int(1000 * 20 * (b(i) / tot) + 0.5)
    e(i) = Int(c(i) + d(i) * 0.1 + 0.5)
    f(i) = c(i) + d(i) + e(i)

    h2 = h2 + c(i)
    h3 = h3 + d(i)
    h4 = h4 + e(i)
    h5 = h5 + f(i)
Next


?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
57 Develop [api] 인스타그램 API Access_Token 발급 방법 (Instagram API) 3 file hooni 2018.04.05 7530
56 Develop [php] Connect to Firebase Console in Laravel file hooni 2018.05.09 3098
55 Develop [PHP] Mac OS에서 PHP 7 설치하기 file hooni 2018.05.11 4868
54 Develop [ios] Requesting Location Permissions in iOS file hooni 2018.08.18 1590
53 System/OS 서버 확장을 위한 두 가지 방법 file hooni 2018.08.29 2089
52 System/OS Mac에서 Node.js 설치하기 file hooni 2018.09.28 4178
51 Develop [ios] Swift 4 String, Date, DateFormatter 예제 hooni 2018.10.18 1385
50 Develop [ios] APNS, Remote Push 수신 시점에서 앱의 3가지 실행 상태 hooni 2018.10.19 956
49 Develop [ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기 hooni 2018.10.19 1241
48 Develop [ios] Swift 4 Singleton inheritance hooni 2018.10.31 1581
47 Develop [ios] Swift 4 Dictionary 사용하기 file hooni 2018.11.29 2016
46 Develop [ios] Locale Identifiers file hooni 2018.11.29 1614
Board Pagination Prev 1 ... 89 90 91 92 93 94 95 96 97 98 Next
/ 98