Page 2 of 2
Re: Humour
Posted: Tue Apr 14, 2015 9:40 am
by 1024MAK
FOR loops I normally use a, b or c as a counter if a small program. In large complex programs, I use c0, c1, c2 etc instead.
I'm using Firefox on Ubuntu and the f looks like an f to me. So I did wonder how much falling down liquid everyone had been drinking
f ≠ £
F ≠ £
Or do I need to order a few more rounds?
Mark
Re: Humour
Posted: Tue Apr 14, 2015 10:57 am
by dilwyn
Ralf R. wrote:I see. I was bit upset, because (for unknown reasons) nearly everybody uses "i".

He he, this used to be quite a big issue with magazine listings, because the rules of FOR loops varied so much. Lower case I may or may not be equivalent to upper case I while I can be mixed up with letter l with some typefaces. Many a happy (or usually not) hour spent in my youth trying to decipher these things from magazine listings, many not even from a QL.
Whether you use i, a, b or c it's usually better to use longer variable names on a QL. But that's a bit off topic here in the Off-Topic Section

Re: Humour
Posted: Tue Apr 14, 2015 11:06 am
by dilwyn
1024MAK wrote:Or do I need to order a few more rounds?
OK yes, I'll join you (if you're paying)

Re: Humour
Posted: Tue Apr 14, 2015 11:15 am
by 1024MAK
dilwyn wrote:1024MAK wrote:Or do I need to order a few more rounds?
OK yes, I'll join you (if you're paying)

Okay, as long as the pub accepts f10 notes
Mark
Re: Humour
Posted: Tue Apr 14, 2015 12:10 pm
by Ralf R.
The courier font in a "select" window (here) let the "f" look a bit similar to a Pound.
1024MAK wrote:FOR loops I normally use a, b or c as a counter if a small program. In large complex programs, I use c0, c1, c2 etc instead.
I'm using Firefox on Ubuntu and the f looks like an f to me. So I did wonder how much falling down liquid everyone had been drinking
f ≠ £
F ≠ £
Or do I need to order a few more rounds?
Mark
Re: Humour
Posted: Tue Apr 14, 2015 12:27 pm
by dilwyn
1024MAK wrote:
Okay, as long as the pub accepts f10 notes
Mark
OK, I'll see what pressing F10 does now...
Dilwyn
Re: Humour
Posted: Tue Apr 14, 2015 2:03 pm
by 1024MAK
Ralf R. wrote:The courier font in a "select" window (here) let the "f" look a bit similar to a Pound.
1024MAK wrote:FOR loops I normally use a, b or c as a counter if a small program. In large complex programs, I use c0, c1, c2 etc instead.
I'm using Firefox on Ubuntu and the f looks like an f to me. So I did wonder how much falling down liquid everyone had been drinking
f ≠ £
F ≠ £
Or do I need to order a few more rounds?
Mark
Oh, I do realise that the effect does depend on which font is being used, which partly depends on which browser/OS is being used.
Mark
Re: Humour
Posted: Tue Apr 14, 2015 3:42 pm
by Mr_Navigator
I didnt know about any "rules"
I have always used f in a for next loop as a ZX Spectrum user (and possible a ZX 81), you quickly learned that in Sinclair BASIC pressing the F key twice in succession creates
10 FOR f
Such was Sinclair's keyboard tokens, and stuck with me all my life
A loop within a loop for me was the most obvious (before anyone asks) USE the next letter
Code: Select all
10 FOR f = 1 TO 10
20 FOR g = 1 TO 5
30 PRINT "W H SMITHS",
40 NEXT g
50 NEXT f
oops add a rnd colour and you may have seen the screens in W H Smiths during the early 80s
in Ilford, Essex.
Re: Humour
Posted: Tue Apr 14, 2015 4:45 pm
by Ralf R.
"Ilford" only reminds me of the wonderful "Pan F".
