Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / FUN Fun fun, no, not fun

Author
Message
Sequence
15
Years of Service
User Offline
Joined: 16th Mar 2011
Location: Canada
Posted: 5th Oct 2011 07:14
Know what's NOT fun?

Checking all the fonts for fixed pitched fonts.

First of all, the command that calls in the fonts calls them in no particular order, or so it seems (I don't know), and then these are the fonts which are different, ALTHOUGH I didn't do a rearrangement and print comparison of all of these.


Meaning that, the following below, even though having different names are the SAME FONTS (the ones that are grouped together)!!!!!



Oh, and in the first list, after 61, I got tired of changing the characters before the period into numbers, because some retard thought it would be funny if a NUMBER variable was written into a file as NOT a NUMBER.

WRITE FILE 1, C
WRITE STRING 1, period$+A$


In the first line of code, APPARENTLY, "C" isn't a number when it's put into a file.... HAR HAR HAR, big joke on me.

If all the "1"s are in the right place, it'll work like a charm.
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 5th Oct 2011 08:33
Quote: "In the first line of code, APPARENTLY, "C" isn't a number when it's put into a file.... HAR HAR HAR, big joke on me."


It does write a number but you can't see it as a number if you use text editor (saving the way you did saves it as a binary file). If you want it to save the number so you can read it in a text editor you have to save it as a string. You can use the STR$() command to change a variable to a string.



Sequence
15
Years of Service
User Offline
Joined: 16th Mar 2011
Location: Canada
Posted: 5th Oct 2011 09:44
Thank you.

If all the "1"s are in the right place, it'll work like a charm.
Neuro Fuzzy
19
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 5th Oct 2011 10:13
Quote: "because some retard thought it would be funny if a NUMBER variable was written into a file as NOT a NUMBER."


Maybe instead of insulting DBPro you should phrase a clear question? I still don't know what you're on about, because in general, those fonts aren't the same. At least, I tested these fonts:
2. Terminal 4. Modern
6. Script

in GIMP, LibreOffice, MS Word, and wordpad, and noticed a difference between the fonts as well as having consistent output on them.

I don't even get what your question/criticism was. if "the command that calls in the fonts calls them in no particular order, or so it seems", why does it seem like that?

Sequence
15
Years of Service
User Offline
Joined: 16th Mar 2011
Location: Canada
Posted: 5th Oct 2011 10:41
Quote: "Maybe instead of insulting DBPro you should phrase a clear question?"


However:
Quote: "Variable

Integer
This command will write a long word of data to the file from an integer value. This is the standard command for writing data where the datatype is not important"

Because that is a cryptic explanation of what happens when you write to a file. Is programming supposed to be a "shot in the dark"?



Anyhow, these 4 fonts, in "set text size 34", seem to be identical.
2. Terminal 4. Modern
5. Roman 6. Script

As are the others I've grouped together.

I'm in 1280*1024.


Doesn't bring them in alphabetically.

Then there's the problem of the ones with an "@" in front of the name needing to be removed then reinserted. Or left in and shuffled back in under their same partner. I want to allow people to choose a font with an alphabetical list at their disposal or does even a directory listing need to be manually sorted?

If all the "1"s are in the right place, it'll work like a charm.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Oct 2011 15:36
Quote: "even though having different names are the SAME FONTS"

So how is DBPro supposed to tell they are different? The fonts are provided by your operating system, not DBPro.

Quote: "Rem have to guess how many there may be"

No you don't. That's why DBPro has dynamic arrays - you expand the array as needed.

Quote: "Doesn't bring them in alphabetically."

So sort them.

Untested - typed directly into the message box so there may be typos:


Seriously, these are silly gripes. All that was needed was to ask a couple of simple questions, not throw a tantrum over how DBPro doesn't do every step for you.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th Oct 2011 15:47
On a side note try to make your title's more informative for future forum dwellers searching for solutions... wait a minute, didn't I just say that

Seriously I'm surprised I'm the first.

Take no offence as none is intended.

Login to post a reply

Server time is: 2026-07-11 14:36:32
Your offset time is: 2026-07-11 14:36:32