I'm bored. Can you tell?
Printable View
I'm bored. Can you tell?
err ... what are favoutits ? Are they like the real thing ?
BTW. I always call my variables Charlie :cool:
damn the typos.
And I can't change it :(
psssst, press edit an errr well edit it !
You can't edit a poll once it is up there. Only Mods can do that.
I'm so so so so sorry :( ;)
So you bloody well should be ;) :p
Favoutites are what westie (emm to internationalise, the poorer burbs) girls put on before they hit the local pub on a saturday night.
I dont never ever neverrrrr use letters for loops. Well i do but i join a few of them together... they always mean something to me and sometimes remind me of that time in Paris walking along the Champs Elysees humming "don't blame it on the sunshine... don't blame it on the moonlight... "
I use i, I always have and always will.
Don't ask me why, I like pie and the sky.
Don't ask me why, I sometimes lie and buy.
Don't ask me why, why? Cos I am shy!
Don't ask me why!
:D :D :D :D :D :D :D :D :D :D
Hey, I'm a poet and I don't know that I ... ooops!
Scary thing there Marty... u've edited that post and so I assume that the prev poem was even worse?? :p
VB Code:
Public Sub Charlie(Charlie As Integer, Optional Charlie As String) Dim Charlie As Integer For Charlie = Charlie To Charlie Step -1 Charlie = Charlie & " does " Next End Sub
Sounds perfectly logical to me. You've only one variable name to remember.
It was badly formatted!
Quote:
don't ask me why, i like pie and the sky don't ask me why, i sometimes lie and buy don't ask me why why cos I am shy don't ask me why
iFlag for me :)
Or in my case:
VB Code:
Public Sub i(i As Integer, Optional i As String) Dim i As Integer For i = i To i Step -i i = i & " i " Next i End Sub
T'were that was all that was bad :DQuote:
Originally posted by Martin Wilson
It was badly formatted!
My most humble apologies Wally. I made the same typo in the question for the poll and it was that to which I thought you were refering. I have now edited the title.
I subjugate myself to you.
:D
Good show old man ! :D
BeachBum -
What are you suggesting? That I am not a poet!
Time for some digesting...and don't I know it!
BB is always suggesting things to people, usually of sexual nature.
This is the kind of mind that man has.
You should see him at the Mardi Gras. Pictures are circulation the Internet :eek:
BB's a man!! :eek:Quote:
Originally posted by Wally Pipp
BB is always suggesting things to people, usually of sexual nature.
This is the kind of mind that man has.
You should see him at the Mardi Gras. Pictures are circulation the Internet :eek:
He must have tucked it back at the mardi gras when we met....
:D
S'gotta be strSQL . . . .
That's a pretty unusual choice of loop variable.:)Quote:
Originally posted by gravyboy
S'gotta be strSQL . . . .
I don't use loops.
Loops are for losers...
Like most people who learned Fortran as one of the first
languages I,J and K are the favoured loop variables. In Fortran
(at least those Fortrans that were in vogue in the 70's) any
variable that begain with the letters I,J or K were automatically
typed as integer.....meaning you didn't have to declare them.
For non-loop variables I prefer KKK and xxx.
Simon......awwww forget it. If it has to be explained, you
wouldn't be able to understand.
I actually use k for no other reason than there were alot of Subs that had X (not x) as variables and it changed the entire set of x variables we had to upper case. It always defaulted to upper case as well, even when we changed them (or we might have missed some) but I couldn't stand the look of
So I started using k because it's nearly an x ;)Code:For X = 0 to 10
instead of
For x = 0 to 10
not that anyone cares but I start with x, if I use another in the same sub that would be y, then z, then if I need more I start from the beginning, e.g a, b, c etc
Hell, it's fun.
Don't worry, I do use loops really. I just wanted to be different... :DQuote:
Simon......awwww forget it. If it has to be explained, you
wouldn't be able to understand.
As for variable naming, I always stick to rigid variable naming conventions (even for lowly loop variables) so I use:
intCount
A bit more of a pain to type but, a convention's a convention.
I have been known to use starsky and hutch as named ranges in excel...
See ?
And you were laughing when I said I name them Charlie, S and Angels ... :rolleyes:
recursion all the way...
OK . . . OK . . . . . I read the title of the thread and stupidly thought that the poll was the same . . . . ah well . . . .
In that case I nominate intLoop. I use it in the sense of a prefix . . . ie intLoopX and intLoopY when populating a chart or intLoopDays & intLoopHours when going through the week etc.
S'that alright now?
Code:for(list<string>::iterator i = m_items.begin(); i != m_items.end(); ++i) {
// ...
}