Develop
2003.04.23 00:03
[vb] 비주얼 베이직 131페이지
조회 수 58118 댓글 0
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
-
[ios] Facebook Cache 갱신하는 함수
-
[ios] 동영상 플레이어 샘플 (for PIP Player)
-
Mac OS 에 Jenkins 설치하기 (Homebrew)
-
[ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법
-
[mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column
-
[ios] NSString, RegularExpression Find/Replace
-
[ios] Facebook SDK 로그인 설명
-
[linux] 초간단 Postfix, Covecot, SSL/TLS (SMTP)
-
[mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
-
[ios] Requesting Location Permissions in iOS
-
서버 확장을 위한 두 가지 방법
-
맥에서 포트 확인하고 닫기 (mac)