Search found 5860 matches

by albert
Jun 22, 2009 22:41
Forum: Tips and Tricks
Topic: my first drawing program
Replies: 7
Views: 1587

Thanks

when you run the program you have to enter a question mark character to bring up the help screen "?". its still alpha ware you cant set the background color you cant clear the screen and you can't save or load files yet. i have to also put in code to make the objects flash so you can see where they ...
by albert
Jun 22, 2009 4:11
Forum: Tips and Tricks
Topic: my first drawing program
Replies: 7
Views: 1587

my first drawing program

'************************* '************************* '**** PRO-DRAW V 1.0 **** '*** by Albert Redditt *** '***** june 2009 ****** '************************* '************************* dim shared i as string * 2 dim shared colors as longint dim shared files as string*8 dim shared squarex1 as intege...
by albert
Jun 22, 2009 4:08
Forum: Beginners
Topic: bsave and bload
Replies: 5
Views: 1524

bsave and bload

the following code only saves a 1.05KB file with screen 19,8,2,1 '800x600, 8bpp, 2 pages, fullscreenmode if i = "s" then 'input "file name to save as. ",files 'files = files + ".bmp" files="test.bmp" pcopy 0,1 screenset 0,0 screenlock bsave files,screenptr,480...
by albert
Oct 24, 2006 3:09
Forum: DOS
Topic: Graphics
Replies: 4
Views: 3077

graphics in mode 12

the LINE(x,y)-(x,y),color,b

the box draw, draws sporadic lines to the edge of the screen at the top and left sides for some reason.

not exactly qbasic/quickbasic/firstbasic compatable.
by albert
Oct 12, 2006 3:59
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5560

coding style???

Uh ?????

It is just the way i jotted it down, I only spent a couple hours on it!!
I did not even add comments. ?I didn't think it had style!
by albert
Oct 12, 2006 3:57
Forum: DOS
Topic: about lines!
Replies: 1
Views: 2133

about lines!

I'm using version 16b dos version AND ????

The:

line(x,y)-(x2,y2,),color,B

( doesn't work , well it does but it draws from the corners of the desired box to the edge of the screen .???)
by albert
Oct 06, 2006 22:25
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5560

A cypher program i just wrote!

'======================================== 'I wrote this over 2 days to get used to the file i/o of firstbasic.' ' it has a small bug, it leaves an extra chr$(10) at the end of 'recreated files. ????? '======================================== 'Silly Cypher ver 1.00 ' A 9 bit cypher program t...
by albert
Oct 06, 2006 17:13
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5560

Sammy haggar bug in my mult.bas

There is a sammy haggar bug that will not let you MUL 55*55 you get 825 instead 3,025 the line (place+1)-n? needs to be (place-n?) if the carry is 2 digits it overlaps them result string by 1. QUESTION On file input??? If you have a file that is 1Meg long can you open it as a single record , into a ...
by albert
Sep 28, 2006 19:16
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5560

Floating point math

I don't think this is quite true, i've seen plenty of others, but good work anyway. I've seen a big-int math package but it only works with integers! My plan is to eventually add other functions and a 8-12 element stack with memory and an interactive interface, I've got similar ADD and SUB programs...
by albert
Sep 28, 2006 2:48
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5560

Floating point math

I wrote this program to handle huge math if any one is interested?? '' MULTIPLY.BAS a long number integer and floating_point multiplier. '' '' Written by Albert Allen Reditt Aug 2006 '' '' Written in FreeBasic v0.16b (DOS version) '' '' '' '' This program takes 3 strings: '' '' value 1 strin...

Go to advanced search