Find Jobs
Hire Freelancers

Basic Strategy Trainer

$30-5000 USD

Завершено
Опублікований about 22 years ago

$30-5000 USD

Оплачується при отриманні
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
ID проекту: 2845744

Про проект

5 пропозицій(-ї)
Дистанційний проект
Активність 22 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
See private message.
$1 USD за 14 дні(-в)
5,0 (75 відгуки(-ів))
5,2
5,2
5 фрілансерів(-и) готові виконати цю роботу у середньому за $8 USD
Аватарка користувача
See private message.
$8,50 USD за 14 дні(-в)
4,7 (58 відгуки(-ів))
5,9
5,9
Аватарка користувача
See private message.
$7,65 USD за 14 дні(-в)
5,0 (41 відгуки(-ів))
4,7
4,7
Аватарка користувача
See private message.
$12,75 USD за 14 дні(-в)
5,0 (30 відгуки(-ів))
4,2
4,2
Аватарка користувача
See private message.
$11,90 USD за 14 дні(-в)
3,5 (4 відгуки(-ів))
1,1
1,1

Про клієнта

Прапор UNITED STATES
United States
0,0
0
На сайті з трав. 1, 2002

Верифікація клієнта

Інші роботи від цього клієнта

Basic Strategy Trainer 2
$30-100 USD
Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.