Find Jobs
Hire Freelancers

Basic Strategy Trainer

$30-5000 USD

Đã hoàn thành
Đã đăng vào khoảng 22 năm trước

$30-5000 USD

Thanh toán khi bàn giao
I've created a Basic Strategy Blackjack testing program for the Casino Professional. The program is meant to display a hand, and offer answer options. My first dilemma that I was able to fix was the answer option sub became too large, so I split it into 7 different subs, and that seemed to work. I also have a counter going for the number of correct responses and the number of incorrect repsonses. The problem is this: if the person using the program gets all of the questions right, the correct counter increments correctly. If they get them all wrong the incorrect counter increments correctly. If within the first sub the user gets some right and some wrong, both counters increment correctly through the entire program, BUT if the user gets all the questions right in the first sub, and then gets one wrong any where in the following subs, I get a type mismatch error '13'. The breakpoint comes at the name of the incorrect counter which is intincorrect. I have tried all the different data types I can think of and also declared them as static integers in each sub. I've attached the code at the beginning of each sub, as well as the general declarations. Do you have any suggestions? I'm about to pull my hair out.... code: This code is in module 1 Option Explicit Public strName As String Public strBadge As String Dim intcorrect As Variant Dim intincorrect As Variant Private Sub optAnswer_Click(Index As Integer) 'Frame 0 Static intcorrect As Variant Static intincorrect As Variant Private Sub optAnswer2_Click(Index As Integer) Static intcorrect As Variant Static intincorrect As Variant intcorrect = [login to view URL] intincorrect = [login to view URL] When I get to the breakpoint, the values for intincorrect = 0, but the lblIncorrect Caption is displaying as "". I'm thinking my problem is there, but I'm not sure what to do. In the beginning, I declared all of these as integers, but I think the zero threw that off. I've tried long and variant. If you can help, I appreciate it. It just seems so stupid that I can't get the counter to work properly now. I could probably get around it another way, but would like it to increment if possible. Thanks in advance for your help. Bob Guidice ## Deliverables Deliver fully functional counter. All copyrights remain mine. ## Platform Windows 98 or higher
Mã dự án: 2845744

Về dự án

5 đề xuất
Dự án từ xa
Hoạt động 22 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
See private message.
$1 USD trong 14 ngày
5,0 (75 nhận xét)
5,2
5,2
5 freelancer chào giá trung bình $8 USD cho công việc này
Avatar người dùng
See private message.
$8,50 USD trong 14 ngày
4,7 (58 nhận xét)
5,9
5,9
Avatar người dùng
See private message.
$7,65 USD trong 14 ngày
5,0 (41 nhận xét)
4,7
4,7
Avatar người dùng
See private message.
$12,75 USD trong 14 ngày
5,0 (30 nhận xét)
4,2
4,2
Avatar người dùng
See private message.
$11,90 USD trong 14 ngày
3,5 (4 nhận xét)
1,1
1,1

Về khách hàng

Cờ của UNITED STATES
United States
0,0
0
Thành viên từ thg 5 1, 2002

Xác thực khách hàng

Các công việc khác từ khách hàng này

Basic Strategy Trainer 2
$30-100 USD
Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.