Contents

Develop
2003.04.23 00:03

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

조회 수 58136 댓글 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
번호 분류 제목 글쓴이 날짜 조회 수
297 System/OS [mac] Mac에서 Mac으로 원격제어하기 (맥에서 맥으로) file hooni 2013.10.08 37240
296 System/OS [mac] OS X 엘 캐피탄에서 Soudflower 사용하기 2 file hooni 2016.10.03 1158
295 System/OS [mac] OS X 요세미티 사용자가 많이 겪는 버그와 몇몇 불편사항 file hooni 2015.01.04 1665
294 System/OS [mac] OSX(맥) 단축키 설명 ㅎㅎ file hooni 2013.04.23 29647
293 System/OS [mac] SVN 1.8 업데이트 방법 hooni 2013.09.24 14694
292 System/OS [mac] VirtualBox 실행 스크립트와 bash_profile 설정 file hooni 2020.07.08 1168
291 System/OS [mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기 file hooni 2014.03.12 5173
290 System/OS [mac] 맥(OSX)에서 root 패스워드 설정하기 hooni 2013.04.23 22592
289 System/OS [mac] 맥OSX에서 NTFS 쓰기 기능 활성화 hooni 2014.03.12 4354
288 System/OS [mac] 맥에서 APM(apache,php,mysql) 구성하기 hooni 2013.04.23 38798
287 System/OS [mac] 맥에서 기본 실행 앱 변경하기 file hooni 2018.03.02 1951
286 System/OS [mac] 맥에서 슬립(잠자기) 모드 진입을 막는 방법~ hooni 2013.10.10 31274
Board Pagination Prev 1 ... 69 70 71 72 73 74 75 76 77 78 ... 98 Next
/ 98