Contents

Develop
2003.04.23 00:03

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

조회 수 58043 댓글 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
번호 분류 제목 글쓴이 날짜 조회 수
8 Develop [ios] UUID 생성 + Key Chain 연동 file hooni 2016.05.13 4648
7 Develop [ios][swift] 초간단 TableView 샘플 file hooni 2016.06.27 728
6 Develop [ios][swift] 초간단 To-do Memo file hooni 2016.06.27 1057
5 Develop [ios][swift] 초간단 카달로그 앱 (Catalog App) file hooni 2016.06.27 7079
4 Develop [ios] FlckrFeed Example App (Swift) file hooni 2016.11.27 1066
3 Develop [ios] 동영상 플레이어 샘플 (for Local File) file hooni 2017.02.07 1064
2 Develop [ios] 동영상 플레이어 샘플 (for Remote Url) file hooni 2017.02.07 1634
1 Develop [ios] 동영상 플레이어 샘플 (for PIP Player) file hooni 2017.03.15 1252
Board Pagination Prev 1 2 Next
/ 2