View Single Post
Old 02-01-2004, 11:16 PM   #1 (permalink)
Sleepyjack
Fast'n'Bulbous
 
Location: Australia, Perth
Stupid American Spelling

Heh, just been doing some programming in Delphi and got screwed on the colour property of these labels, cause they use american spelling!

I've just gone through, tediously, a few hundred lines of code adding a method to change colour of these labels that get displayed etc. Anyway here's a basic line of code which i did, which changes the colour of the particular label, to my default/universal Labelcolour.

CCD61.feedsolidsalt5.colour := LABELCOLOUR;

So after i added all this, i compile to check it out and get a compile error -> Undeclared identifier: 'colour'

heh, then i thought damn you America! and your American delphi libraires/properties!!
So i now have to go through about 200 or so lines of code deleting u's to make it back to color. It'll only take 5 minutes or so but i think i might get carpal tunnel syndrome just doing it Unfortunatley i can't (or don't think i can) search substrings to change/replace values

With that anecdote, i was wondering why the Americans have to be different and spell things like color, favorite etc like they do. Where'd the u go?
Also, what's up with gray? It's a raditaion unit not a colour

Basically just wondering about why the difference occurs, between Australia/british/european english and the American version?
Sleepyjack is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73