Search found 1053 matches

by jevans4949
Aug 16, 2006 3:05
Forum: General
Topic: Decimal Class
Replies: 15
Views: 4064

@rudiger True that decimal (as I think you and I understand it) should not be implemented as floating point. It should be implemented as a variant of FIXED POINT arithmetic - of which integer is another variant. However, since decimal is poorly implemented on Intel processors, we have to struggle wi...
by jevans4949
Aug 16, 2006 1:22
Forum: General
Topic: Am I doing something wrong?
Replies: 2
Views: 901

Someone else may be able to clarify, but I think a quick answer is to use ZSTRING instead of STRING. It worked for me!
by jevans4949
Aug 16, 2006 0:57
Forum: General
Topic: Decimal Class
Replies: 15
Views: 4064

Yes, I agree, decimal would be a Good Idea. Many years ago I did put together a set of C subroutines to do this, with the number held in a 32 bit signed integer and no. of decimal places in an 8-bit signed field, and a COBOL-like PICTURE editing routine. It's not too difficult, but with only 9-digit...
by jevans4949
Aug 15, 2006 23:56
Forum: Community Discussion
Topic: FreeBASIC Insight - a fresh perspective on an old community
Replies: 25
Views: 6694

Very nice layout, and well-written.
by jevans4949
Aug 15, 2006 11:47
Forum: Game Dev
Topic: boggle?
Replies: 12
Views: 7558

Sorry, my phone line has been out of order for 4 days. Just logged on to check email. Will check out your stuff and send something new later.
by jevans4949
Aug 11, 2006 12:54
Forum: Game Dev
Topic: boggle?
Replies: 12
Views: 7558

Timer routine now re-written, with the inkey$ options that were previously in the subroutine included in the main path.

Also replaced the inkey$ logic for the reshuffle with sleep / getkey

Re-uploaded to the same location.
by jevans4949
Aug 11, 2006 2:45
Forum: Game Dev
Topic: boggle?
Replies: 12
Views: 7558

OK, the following compiles under 0.17 (anonymous1337's copy of Monday) and runs. Updated source is at: http://members.aol.com/jevans4949/wmasi.bas The timer routine still needs to be addressed. I have put in some comments in a few places, and have tidied up odd lines of code where I was obliged to w...
by jevans4949
Aug 11, 2006 0:35
Forum: Game Dev
Topic: boggle?
Replies: 12
Views: 7558

Nope: tried wm.exe again and the system just seized up.

Re the dictionary: I note that the current version only allows for about 2k words. Are you planning something more ambitious? If so, would it be the same structure? I was meditating on some sort of linked-list tree thing.
by jevans4949
Aug 10, 2006 20:15
Forum: Game Dev
Topic: boggle?
Replies: 12
Views: 7558

Downloaded it to see what it was about. The .exe hung my XP system. Is it supposed to work on XP? By hard work, amended it sufficiently to compile. Got as far as a display which is clearly not right, and then hung; had to switch to the console window and Ctrl-C. Needs more work to make it fly. If yo...
by jevans4949
Aug 07, 2006 17:42
Forum: Beginners
Topic: A 'Basic' history
Replies: 33
Views: 13684

Re: Just For Everyone's info...

Interesting question; where are COBOL, FORTRAN and other early languages today? COBOL is still around on mainframes, but nobody is doing develpment on mainframes these days. There were numerous versions of COBOL avaialble in the early days of microcomputers - and probably there still are. COBOL is ...
by jevans4949
Aug 07, 2006 10:28
Forum: Sources, Examples, Tips and Tricks
Topic: If you can read this post, you are smart.
Replies: 9
Views: 2303

But don't use it for emails about planting a bmob for Omsaa bin Ldaen!
by jevans4949
Aug 07, 2006 10:15
Forum: Beginners
Topic: short text processing program question
Replies: 11
Views: 3012

Re: short text processing program question

But i'm still wondering: why did my QBasic program not find the carriage-returns at the end of each line in the original text file? Can anyone help with this? As I stated before, both the INPUT statement and the LINE INPUT statement strip off the CHR$(13) and CHR$(10) before assigning data to your ...
by jevans4949
Aug 06, 2006 13:20
Forum: Beginners
Topic: short text processing program question
Replies: 11
Views: 3012

Re: short text processing program question

... but it's not finding the carriage-return at the end of the original lines of text, and i don't know why... If you use INPUT # with a string target, BASIC reads to the first comma or newline encountered. The delimiter is stripped off before the string is returned to the target (and also leading ...
by jevans4949
Aug 06, 2006 2:41
Forum: Beginners
Topic: short text processing program question
Replies: 11
Views: 3012

Personally, if it's to be read into a spreadsheet, I would have put tabs, or possibly commas, between the fields, rather than spaces.
by jevans4949
Aug 05, 2006 14:28
Forum: Beginners
Topic: Objects in FB??
Replies: 17
Views: 4122

Would it be a good idea to make them Reserved Words NOW, or at least add them to the documentation, to forestall complaints later? Even with just the explanation "reserved for OO development".