Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:27 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Basic Program

Author Message
elchucko

Regular Member

Joined: 09/11/2011
Location: United States
Posts: 86
Posted: 04:13pm 19 Nov 2011
Copy link to clipboard 
Print this post

How do I attach a .bas program to a post? Thank you
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 04:24pm 19 Nov 2011
Copy link to clipboard 
Print this post

first you have ti zip it then attach it to the post using the little icon that is showing that zip picture its the last one on the right ....actully i think if you just click on the picture next to the zip icon it will ask you to browse and then from that select the file that u want to attatch ...i think that the zip icn button may zip the file for you and then it will prolly attatch it .....Edited by sparkey 2011-11-21
technicians do it with least resistance
 
elchucko

Regular Member

Joined: 09/11/2011
Location: United States
Posts: 86
Posted: 06:49pm 19 Nov 2011
Copy link to clipboard 
Print this post

2011-11-20_044538_aceyducey.zip

I'm new at this. I found the attached Basic program that is not compatible with M. I believe it's a Tiny Basic program. Any programmers out there that can have a look at it? I'll learn some Basic here! Thank you
 
brucepython

Regular Member

Joined: 19/06/2011
Location: Australia
Posts: 64
Posted: 07:52pm 19 Nov 2011
Copy link to clipboard 
Print this post

After a minute or two trying it out ACEYDEUCY2.BAS seems to work fine Chucky. I'm trying to determine how to get my winnings of $320 printed, but I can't find a printer driver to hook up the Maximite to my fancy hires printer. Darn!

The only changes I suggest are disposing of all those capital letters in the text and, because I'm painfully picky, changing line 1030 to

1030 IF LEFT$(A$,1)="Y" OR LEFT$(A$,1)="y" THEN 110

in case anyone else is also too lazy to type "YES".

You'll also need to shorten the filename to eight characters or less.

Bruce

 
elchucko

Regular Member

Joined: 09/11/2011
Location: United States
Posts: 86
Posted: 08:08pm 19 Nov 2011
Copy link to clipboard 
Print this post

2011-11-20_060727_blackjack.zip

Oops, I sent the wrong file. It's this one.
 
Gadget
Regular Member

Joined: 22/06/2011
Location: Australia
Posts: 70
Posted: 12:26am 20 Nov 2011
Copy link to clipboard 
Print this post

Hi,

to get it to work i just had to alter line 30 from

30 DIM R(15)

to

30 DIM R(15),Z(5)

This then allows for 5 players if you want more change the 5 to the number of players
apart from this it seems to work, might want to do a bit of work cleaning up the output

cheers

Terry
 
elchucko

Regular Member

Joined: 09/11/2011
Location: United States
Posts: 86
Posted: 02:42am 20 Nov 2011
Copy link to clipboard 
Print this post

Thanks Terry. I'm using HyperTerminal. I have a program listing within the HT screen. How I delete the data? I can't seem to clear the HT window of the program listing. Thank you
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024