Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Programming

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Programming
Reply
 
Thread Tools
Old 09-01-2026, 11:14   #1
Anonymouse
RIP Tigger - 13 years?!
 
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,687
Anonymouse has a bronzed appealAnonymouse has a bronzed appeal
Anonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appeal
Programming

I've used DOS 6.22 and 3.1 - did the job, slowly.
95 - ditto, quicker.
98 - slightly better.
2000 - I liked it.
XP - a bit flashy, but OK.
Vista - mmm. Brief acquaintance (long story I'm not going to tell). I admit to liking the Aero interface - my laptop never had speed issues.
8.1 - loved it.
10 - don't like it at all.
11 - like it about the same, i.e. not at all.
I've also used a BBC Micro, a TeleType (stop laughing, this was 1982!), plus SUN Workstation, UNIX and VAX/VMS terminals, programming in UNIX, various BASIC dialects, C (a joy - using Jackson Structured Programming tends to reduce a program design to the ideal of all being functions), COBOL (a pain), PASCAL (ditto but worse, pointers are so confusing), Modula-2 (the bas...illegitimate child of PASCAL - avoid like the plague!), C++ (2 weeks is not long enough to learn it - hell, two years wouldn't be enough!), PROLOG (5, I think - hated it), Visual BASIC 5 (I quite liked it, inventing a technique - or so I thought - that turned out to be SOP), VB.NET and DCL (v. powerful if you know what you're doing). Also 6502, 80386 (not bad, actually - HiSoft Assembler was very capable), Z80 and 68000 Assembler (loved the last two).
Cautionary note: on my HND/degree course I used the VT220 and VT320 keyboards. The < and > symbols were on the same key, needing SHIFT for the latter. I missed this once. One typo, just ONE, i.e. a misplaced < that should've been >, and it cost me EIGHT BLOODY HOURS of debugging a COBOL program! Just to make it even more baffling, a fellow student had virtually the same program, with the same design (JSP tends to force this, especially in COBOL - one advantage of COBOL with JSP is that it's difficult to misinterpret) - but his program worked perfectly with his and my data file!
I swear, I was just about to lose the will to live when, after EIGHT BLOODY HOURS, I finally spotted it. An excellent example (so my lecturer teased me later) of a logical error as opposed to a compiler error - the compiler, of course, never caught it as it was a perfectly legitimate program statement; it only counted as a typo because it was the wrong symbol, not an illegitimate one. Never was GIGO so true!

Oh, I miss the VIC-20/SHARP MZ700/ATARI ST, 6502/Z80/68000 days. Back then IT made sense.
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.

WINDOWS 11, ANYONE?!

Last edited by Anonymouse; 09-01-2026 at 11:23.
Anonymouse is online now   Reply With Quote
Advertisement
Old Yesterday, 11:53   #2
spiderplant
cf.mega poster
 
Join Date: Jun 2003
Posts: 9,025
spiderplant has a pair of shiny starsspiderplant has a pair of shiny starsspiderplant has a pair of shiny stars
spiderplant has a pair of shiny starsspiderplant has a pair of shiny starsspiderplant has a pair of shiny starsspiderplant has a pair of shiny starsspiderplant has a pair of shiny starsspiderplant has a pair of shiny stars
Re: Windows 11 25H2 officially released

Quote:
Originally Posted by Anonymouse View Post
One typo, just ONE, i.e. a misplaced < that should've been >, and it cost me EIGHT BLOODY HOURS of debugging a COBOL program!
Should have used "IS GREATER THAN"
spiderplant is offline   Reply With Quote
Old Today, 04:49   #3
Anonymouse
RIP Tigger - 13 years?!
 
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,687
Anonymouse has a bronzed appealAnonymouse has a bronzed appeal
Anonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appeal
Re: Windows 11 25H2 officially released

Can you do that in COBOL? I know it uses (well, used) more keywords than BASIC, but I'd no idea you could say such a thing. Mind you, it makes sense - it did tend to use words rather than symbols, for clarity. It was intended for, mainly, managers, i.e. non-technical people. Come to think of it, I think you could say PLUS and MINUS instead of/as well as + and -. You could definitely say ADD 1 TO COUNT as opposed to COUNT = COUNT + 1 (or, in C, COUNT++).

If it's so, I wish I'd known it then! You have no idea how STUPID I felt debugging that damn program! I even modified the design at one point, thinking I'd found a mistake - not realising the mistake was mine. It should've been obvious: my friend's program and mine had exactly the same program actions, the same design - so in essence they were the same program.
(But this wasn't plagiarism - JSP tends to force this in COBOL. Program actions in the JSP design translate directly to program statements, and so the same design produces the same program. The advantage of JSP is that if things go wrong you can quickly figure out why.
Unless, of course, the error is subtle, as mine was...)

So their giving different results - especially since his program worked exactly as predicted with both data sets, i.e. his program + my data = the results I'd expected for my program, and his program + his data = the results he'd expected - should've made it obvious where the problem was (we were required to work out what the results should be, then check them against the actual results, as part of our documentation - Pat Diskin, our lecturer, was red-hot on that. But you couldn't get away with just going down the list of results and idly ticking them off, oh no - she was shrewd enough to be able to tell, and she would mark you down. No, you had to genuinely check).

It was just that the results were totally unlike what I'd expected, so I couldn't figure it out from the pattern of errors (in fact, as I recall the results were totally screwy and made no sense whatsoever). But I made that ONE correction, and that put everything right. I did confess to the error in my programming log.

If anything, this was useful to teach the importance of thoroughness in checking, accuracy and, above all, GIGO. The resulting statement was logically correct, so the compiler didn't, couldn't catch it. It was just factually wrong - not a syntax error (which would have been caught), but a logical one. No compiler could catch that, even today (well, maybe an AI compiler, if there is such a thing - and even then it'd be required to analyse program context and think 'ah, he's said this but he meant to say that', likely a monumental task even for the Enterprise-D computer).

To coin a phrase, whoops.

I did get an A, though. The corrected program worked perfectly - my program + my data = my expected results, and my program + his data = his expected results. Yes, he got an A too, and Pat did not for one instant think either of us had copied from the other - she could tell that, too. You know, McGonagall reminds me of her...
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.

WINDOWS 11, ANYONE?!

Last edited by Anonymouse; Today at 05:46.
Anonymouse is online now   Reply With Quote
Old Today, 06:00   #4
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: IDNet FTTP (1000M), Sky Q TV, Sky Mobile, Flextel SIP
Posts: 30,302
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Windows 11 25H2 officially released

Quote:
Originally Posted by Anonymouse View Post
Can you do that in COBOL?
Yes you can, you can also use NOT (as in 'IS NOT GREATER THAN').
Of course, thats the same as 'IS LESS THAN OR EQUAL TO' which you could also use.


Quote:
Originally Posted by Anonymouse View Post
Can you do that in COBOL?
I know it uses (well, used) more keywords than BASIC
Used ?

COBOL is still alive and well.
I used it reqularly at Experian, and its still used by many mainframes.
Before COBOL, I programmed in FORTRAN, thats still alive and kicking as well.

Dont be fooled by Universities trying to tell you everything is done in so called "Modern" languages.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old Today, 08:23   #5
Hugh
laeva recumbens anguis
Cable Forum Mod
 
Hugh's Avatar
 
Join Date: Jun 2006
Age: 69
Services: Premiere Collection
Posts: 43,965
Hugh has a golden auraHugh has a golden auraHugh has a golden aura
Hugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden auraHugh has a golden aura
Re: Windows 11 25H2 officially released

Quote:
Can you do that in COBOL? I know it uses (well, used) more keywords than BASIC, but I'd no idea you could say such a thing. Mind you, it makes sense - it did tend to use words rather than symbols, for clarity. It was intended for, mainly, managers, i.e. non-technical people.
No, it wasn’t - it was intended for COBOL Programmers*, who in the 70s and 80s wrote most of the World’s business Systems in it (and you’d be amazed how many Legacy Systems are still running on it).

I was a coder in the 80’s and early 90s, using Mainframe Assembler, COBOL, RPG2, and SQL - never saw a Manager writing code (although they would sometimes give advice, if they were ex-coders).
__________________
Thank you for calling the Abyss.
If you have called to scream, please press 1 to be transferred to the Void, or press 2 to begin your stare.

If my post is in bold and this colour, it's a Moderator Request.
Hugh is offline   Reply With Quote
Old Today, 10:45   #6
Anonymouse
RIP Tigger - 13 years?!
 
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,687
Anonymouse has a bronzed appealAnonymouse has a bronzed appeal
Anonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appeal
Re: Windows 11 25H2 officially released

Using LESS THAN OR EQUAL TO - I'd forgotten. Yes, I remember now, I could have done that. Should have - stating IS GREATER THAN would've been completely unambiguous and I couldn't have got it wrong - or if I somehow had, I'd have seen it straight away.

1989. 36+ years ago. I still can't believe that some of you young 'uns - ooh, shades of Rimmer, I cannot believe I just said that! - weren't even around back then.
I miss those days.

Quote:
Originally Posted by Hugh View Post
No, it wasn’t - it was intended for COBOL Programmers*, who in the 70s and 80s wrote most of the World’s business Systems in it (and you’d be amazed how many Legacy Systems are still running on it).

I was a coder in the 80’s and early 90s, using Mainframe Assembler, COBOL, RPG2, and SQL - never saw a Manager writing code (although they would sometimes give advice, if they were ex-coders).
Oops, my bad. I should've said business-oriented users. And no, I wouldn't be amazed, or even surprised; I studied programming, data processing and business applications at HND level. The powers that be really want to get rid of COBOL as an outmoded language, and admittedly the new ones are much better, but the simple truth is that without some drastic and unimaginable upgrade, to somehow do it all at once, they can't. It's too deeply embedded, with billions of lines of code, in society-critical applications such as the stock market, which has to keep running 24/7/365 even when trading is closed for the day - because, of course, there are business users all over the world in multiple time zones (even, if the country's big enough, in the same country, e.g. the States). Business runs 24/7/365, so these COBOL programs have to as well.
Unless they create a parallel system and gradually change over to it...which they won't be able to afford to do. Not until we mine Psyche, at any rate.
Which, in a classic Catch-22, we won't be able to afford to do until we get the IT systems sorted out.

"Is Orr crazy?"
"He sure is."
"Can you ground him?"
"I sure can. But first he has to ask me to. That's part of the rule."
"Then why doesn't he ask you to?"
"Because he's crazy, He has to be crazy to keep flying combat missions after all the close calls he's had. Sure, I can ground Orr. But first he has to ask me to."
"That's all he has to do to get grounded? Just ask?"
"That's it."
"Then you can ground him?"
"No. Then I cannot ground him."
"AAAAARRRGGGHHH!"

- Catch-22, the excellent movie

No, everything is not done in the modern languages, that's quite true. They just wish it was. Bit like Brian Arthur, who confidently declared he was going to bring economics into the 20th Century, only for his old mentor to ask sadly, "Don't you think you should bring it into the 19th Century first?"

Hell, I once had a program crash on me at a workplace - and I immediately said to my supervisor, "That's what you get for relying on COBOL."
"Eh?"
"That's what it's written in."
"How do you know?!"
Answer: the error message I got started with %COB-F-, that's why, i.e. a fatal COBOL error. On the VAX, error messages were - still are? - in the format:

%PROGRAM-SEVERITY-ABBREVIATION followed by an explanation, e.g.:

%COB-F-COMPERR, COBOL compiler error - check program syntax

or

%DCL-W-ACCESSREST, access restricted - consult your system operator

SEVERITY was F, S, W or I (Fatal, Severe, Warning, Informational). Can't remember what the error message was, but I know a COBOL core dump when I see it. <ironic>I saw too many of them in my 2 years studying COBOL on my HND, especially the 2nd year. </ironic> Trust me, it does not lend itself to what's known as flat code. I hated that in year 2. That plus FMS (Forms Management System) on the VAX...uuurrggghhhh.
I never used ORACLE on my HND course; that came to the VAX in 1991 or thereabouts, and I was converting my HND to a B.Sc. Whenever two or more ORACLE users were logged on, my PASCAL compilation time went from blink-and-you'll-miss-it to several minutes. In a race between a VAX running ORACLE and a continent, I was sure the continent would win. You wouldn't believe the I/O and CPU time ORACLE used.
Is this still true today? <sarcasm>Wouldn't be surprised.</sarcasm>

I studied ways of modernising systems, such as parallel running...and the usual method of shoehorning a new system into where the old one was. They cannot do that on a large scale; the task is too large, and the programs too critical. Some systems are so critical that people could die if the new ones don't work...which they never do. Hence they must keep going.

Imagine if Tron was true. Picture it: two old programs, as old as Dumont if not older, taking a break for a few hundred micro-cycles (i.e. overnight, after trading has closed for the day):

"Hey, you know the Users can't do without us?"
"Yeah. Pete-One says they want to replace me with some new flashy program, but they can't. I'm old, even outmoded, but still critical."
"Me, too. I've been running nonstop for trillions of micro-cycles - I think the Users call it 'years', or something - but they still depend on me. Got at least a million man-years - is that right, Tron? (a nod) - man-years invested in us."
"All hail the Users, though."
"Yeah. All hail the Users."



"Look, you know how it is. You just keep doin' what you're told to, even if it seems crazy, an' you hope like hell your User knows what's goin' on. Right?"
"Well, that's how it is for programs, yes, but -"
"I hate to break it to you, pal, but most of the time that's how it is for Users, too."
"Stranger and stranger...!"

- Tron, a movie which really made you think
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.

WINDOWS 11, ANYONE?!

Last edited by Anonymouse; Today at 12:41.
Anonymouse is online now   Reply With Quote
Old Today, 13:00   #7
VX1953
cf.member
 
Join Date: Nov 2025
Location: Telford
Posts: 22
VX1953 will become famous soon enoughVX1953 will become famous soon enoughVX1953 will become famous soon enough
Re: Windows 11 25H2 officially released

Quote:
Originally Posted by djmagnifique View Post
I really liked Windows ME. So much more stable than Win 98.
I liked WinME also, when I was an NHS IT Techie back in the very early 2000's we did a trial batch of Win98se PC's upgraded to WinMe and it worked well for general Windows usage but had problems running certain legacy Novell and custom Dos based programs so it never got rolled out, we stuck with Win98se until XP arrived and that was rolled out Trust wide.

Home wise, I still have 2 Desktop PC's with Win7 on and prefer using Win7 to Win10 on dual boot, Linux is good.
VX1953 is offline   Reply With Quote
Old Today, 18:57   #8
heero_yuy
Perfect Soldier
 
heero_yuy's Avatar
 
Join Date: Mar 2009
Location: Worthing West Sussex
Age: 68
Services: VM 500M SH3 thingy in modem mode XL TV V6 Sony Bravia smart TV and M phone
Posts: 11,246
heero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered stars
heero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered starsheero_yuy is seeing silvered stars
Re: Windows 11 25H2 officially released

Rather deviating from topic but just about everything round you are
programmed in embedded "C" (My specialty) bear in mind Linux ( and derivatives) like your mobile are also using this.
__________________
History is much like an endless waltz: The three beats of war, peace and revolution continue on forever.
However history will change with my coronation - Mariemaia Khushrenada
heero_yuy is online now   Reply With Quote
Old Today, 20:05   #9
Anonymouse
RIP Tigger - 13 years?!
 
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,687
Anonymouse has a bronzed appealAnonymouse has a bronzed appeal
Anonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appealAnonymouse has a bronzed appeal
Re: Windows 11 25H2 officially released

Oh, C. I did love that, at Kalamazoo in Manchester, as part of some City & Guilds course or other, running on UNIX, and again in 1998 on NT (3.5 or 4? Can't remember.)

I did like the '98 lecturer. I remember one time a student switched off his PC without shutting it down properly (he thought he was doing the guy, who'd stepped out for a bit, a favour); this tended to screw up NT PCs, especially on the multi-user system we had. The next day the student was, luckily for him, off sick. The lecturer (I think he was from Saudi Arabia) said, "I wait till he's better, then I kill him!" .

At Kalamazoo we used JSP, which forces you, at base level, to base all your program modules on functions - which is the C ideal anyway.
I pointed this out to our lecturer. "The only way you can reconcile program actions with C is to reduce everything to functions."
"That's the idea. A C program should be functions anyway." (He was a man after my own heart, describing the difference between hacking and cracking. The former is something I've done, i.e. getting into the guts of the system, finding out how things work and making them work better and/or differently*, whereas cracking is breaking in illegally - he rightly pointed out that 'hacking' was a sorely-abused term. This was in '94, but it's still true today. A hacker is not a cracker, and vice versa.)
"Hmm. Makes sense."

The thing is, C made sense. This is one reason why UNIX/Linux is written in it. Pointers were easy, and they too made sense. I actually wrote a hex monitor program in C, to decode a .EXE file into ASCII, so you could read any embedded text messages. A line would look like:

0AF0 41 20 70 72 6F 67 72 61 6D 20 74 6F 20 61 73 63 A program to asc

with nonprinting characters represented as dots. I later migrated it to Win 98 and 2000 (I dual-booted them), and it worked fine. Watney used a similar hex editor in the film version of The Martian to hack the Rover so it could talk to Pathfinder.

You just try that in BASIC!
(Can be done, but it's much more difficult.)

* A good example of this was on the SHARP MZ-700, which used a built-in cassette drive. Loading up a program from the Machine Code Monitor (the MZ-700 didn't have, e.g., BASIC on ROM, so it could run any version of BASIC, FORTH - ooh, I forgot about that! - or any other language) caused it to automatically run, which was no good if you wanted to create a backup. But you needed to know the base address, the execution address and the file length in order to copy a file via the MCM. So after reading the monitor manual (so helpful!) to figure out how the loading process worked, I wrote an Assembler program to intercept a program while it was loading and stop it auto-running, delivering said data. I successfully backed up BASIC and a favourite game, a low-res (characters only) Defender clone.
I wrote to the user group, detailing my hack - and I was awarded a £25 voucher! Result!
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.

WINDOWS 11, ANYONE?!

Last edited by Anonymouse; Today at 20:53.
Anonymouse is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:58.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum