Contents

Develop
2003.04.23 00:03

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

Views 58165 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
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
No. Category Subject Author Date Views
84 System/OS 맥에서 포트 확인하고 닫기 (mac) hooni 2022.03.22 1238
83 System/OS 서버 확장을 위한 두 가지 방법 file hooni 2018.08.29 2278
82 Develop [ios] Requesting Location Permissions in iOS file hooni 2018.08.18 1746
81 Database [mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. hooni 2017.12.15 1398
80 System/OS [linux] 초간단 Postfix, Covecot, SSL/TLS (SMTP) file hooni 2017.12.11 9528
79 Develop [ios] Facebook SDK 로그인 설명 file hooni 2017.04.19 1367
78 Develop [ios] NSString, RegularExpression Find/Replace hooni 2017.04.14 963
77 Database [mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column 3 hooni 2017.03.30 8983
76 Develop [ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법 file hooni 2017.03.29 1098
75 Develop Mac OS 에 Jenkins 설치하기 (Homebrew) 2 file hooni 2017.03.15 8410
74 Develop [ios] 동영상 플레이어 샘플 (for PIP Player) file hooni 2017.03.15 1413
73 Develop [ios] Facebook Cache 갱신하는 함수 file hooni 2017.02.27 1332
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7