|
|
WANT!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Of course, arrays are not zero based. When you access an array such as array[0] you are referring to the offset.
|
|
|
|
|
Kamen Nik wrote: waddle through thousands of lines of code and fix 1 based arrays.
Why did they need to be fixed? Was it a case of the application didn't work, or personal preference? How was a 1-based array preventing the application from working?
|
|
|
|
|
Delphi uses 1 based arrays.
Actually, depending on what the array is some are one based and others are zero based.
Love my job.
|
|
|
|
|
Isn't Delphi an offshoot of turbo pascal and doesn't pascal have the notion of n-based arrays, in other words one can state the starting & ending range of the array?
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
True for arrays you create, but certain structures in memory you get handed to you are one based and others are zero based. Strings can be accessed as arrays and are 1 based because the zeroth element contains the length of the string. But other memory arrays are zero based. I even used to have a print out of one of the help pages stating that the function used one base but actually used zero base.
|
|
|
|
|
|
A new series of Red Dwarf tonight! And apparently it's funny (which is more than you could say for the last one): Red Dwarf XI Trailer - YouTube[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
In that case - BROWN ALERT!!!
|
|
|
|
|
Sir, are you sure? It does mean changing the bulb.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Red Dwarf...brought to you by the same people that came up with Doctor Who. Which I gave more than a fair chance but completely failed to grab my interest (IMNSHO).
|
|
|
|
|
If Dalek Dave was still reading this, I'd tell you that it was because Red Dwarf was for adults, but Dr Who is a children's program.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Oh, is that what's wrong with it...
|
|
|
|
|
dandy72 wrote: the same people that came up with Doctor Who I imagine that they all retired years, if not decades, ago.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
That last one was excruciatingly bad.
|
|
|
|
|
The first episode of the new series started well, but has dropped off a bit by the ad break.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
And a series 12 is planned next year too.
|
|
|
|
|
So I dont spend my own money that often on development machines . But its that time again. Every time I end up trawling through lots of sites comparing who has the best machines at the moment . I have no preference for laptop or desktop but want lots of power , a fair size SSD and a quiet machine . My budget I hear you ask ? Probably up to £2000 but maybe a bit more . No monitor needed . Does anyone have any current recommendations ?
|
|
|
|
|
Andrew Torrance wrote: £2000
How many machine do you need ?
|
|
|
|
|
They want a gold plated one.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I would like to get it as cheap as possible , but the way that VAT works if I pay over £2000 I can claim the VAT back . (20%) So I set it at that to see what I can get for my wonga.
|
|
|
|
|
But if you spend that much the money's gone. How much VAT will you save to subsidize what appears to be the most amazing overspending?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
If I spend £1666 I dont get a penny back . If I spend £2000 I get £332 back .Since a lot of good machines are £1200 and upwards I thought I would say £2000 to see what corkers came out of the woodwork.
|
|
|
|