Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Windows 11 25H2 officially released

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

Windows 11 25H2 officially released
Reply
 
Thread Tools
Old Today, 04:49   #61
Anonymouse
RIP Tigger - 13 years?!
 
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,685
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 offline   Reply With Quote
Advertisement
Old Today, 06:00   #62
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,299
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
[FONT="Arial"]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   #63
Hugh
laeva recumbens anguis
Cable Forum Mod
 
Hugh's Avatar
 
Join Date: Jun 2006
Age: 69
Services: Premiere Collection
Posts: 43,964
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
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 09:02.


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