Code from Griffen's book?

#1
I was wondering I have the theory of blackjack and in chapter 11 they have code in Basic for dealer probabilities. I have power basic win v 9.01 firstbasic q-basic and turbo basic compilers. How do I use the attached code and get to compile with power basic or one of the other compilers?
 

Attachments

#3
Help anyone?

Thanks MGP I have used this program manytimes and it is very good...
But my let me explain my dilema....
I have read Griffens book many times and it is frustrating as I understand math very well but I never could get this simple code to compile in his book in chapter 11. Anyone able to write it so I can compile it with q-basic or power basic win 9.01? For me this is the equivalent of reading a good book and never getting to finish it because your dog at the last chapter! Many thanks in advance to anyone that can help explain what I need to do to get it to work!!!
 

Sonny

Well-Known Member
#4
You probably need to DIMension the arrays W(), A() and F() before you run the program. Also, I don't think the interpreters you are using support line numbers so you will have to change them to labels.

Better yet, use Eric Farmer’s code.

-Sonny-
 
Top