Find Jobs
Hire Freelancers

Basic Strategy Trainer

$30-5000 USD

Tamamlandı
İlan edilme: yaklaşık 22 yıl önce

$30-5000 USD

Teslimde ödenir
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
Proje No: 2845744

Proje hakkında

5 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 22 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
See private message.
$1 USD 14 gün içinde
5,0 (75 değerlendirme)
5,2
5,2
5 freelancer bu proje için ortalama $8 USD teklif veriyor
Kullanıcı Avatarı
See private message.
$8,50 USD 14 gün içinde
4,7 (58 değerlendirme)
5,9
5,9
Kullanıcı Avatarı
See private message.
$7,65 USD 14 gün içinde
5,0 (41 değerlendirme)
4,7
4,7
Kullanıcı Avatarı
See private message.
$12,75 USD 14 gün içinde
5,0 (30 değerlendirme)
4,2
4,2
Kullanıcı Avatarı
See private message.
$11,90 USD 14 gün içinde
3,5 (4 değerlendirme)
1,1
1,1

Müşteri hakkında

   UNITED STATES bayrağı
United States
0,0
0
May 1, 2002 tarihinden bu yana üye

Müşteri Doğrulaması

Bu müşterinin diğer işleri

Basic Strategy Trainer 2
$30-100 USD
Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.