Contents

Develop
2003.04.23 00:03

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

조회 수 58118 댓글 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


?

  1. [ios] Facebook Cache 갱신하는 함수

  2. [ios] 동영상 플레이어 샘플 (for PIP Player)

  3. Mac OS 에 Jenkins 설치하기 (Homebrew)

  4. [ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법

  5. [mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column

  6. [ios] NSString, RegularExpression Find/Replace

  7. [ios] Facebook SDK 로그인 설명

  8. [linux] 초간단 Postfix, Covecot, SSL/TLS (SMTP)

  9. [mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

  10. [ios] Requesting Location Permissions in iOS

  11. 서버 확장을 위한 두 가지 방법

  12. 맥에서 포트 확인하고 닫기 (mac)

Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7