On 08/02/2024 09:51, billy bookcase wrote:
"Simon Parker" <simonparkerulm@gmail.com> wrote in message
news:l2hde1Ffnc3U52@mid.individual.net...
<snip>
But failing to anticipate and rectify such an *obvious* user *error*
- unless I'm mistaken and there is indeed some specific function
which *is* indeed activated by *repeated* use of the [enter] key -
is simple incompetence. With bells on
But that is not a software error. It is a system design error.
So just to be clear before proceeding any further can you give an example
of what you yourself would consider a "software error"
< remainder snipped again on the "one step at a time principle >
I'll use the Visual Basic MsgBox for this example as one doesn't need to be a software
developer to follow the code. If you'd prefer a different language, let me know and
I'll see what I can do.
<Begin Code>
Dim Msg, Style, Title, Help, Ctxt, Response, FormatAns
Msg = "Do you want to Format the Hard Drive?" ' Define Question
Style = vbYesNo Or vbCritical Or vbDefaultButton2 ' Define Buttons
Title = "Sample Software Error for Mr Bookcase" ' Define Box Title
Help = "BUGGY.HLP" ' Define Help file
Ctxt = 1000 ' Define Topic Context
' Display Message and Get Response
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then ' User chose Yes
FormatAns = "Yes"
Else ' User chose No.
FormatAns = "Yes"
End If
<End Code>
Regardless of the button clicked, "FormatAns" is "Yes" and the drive is likely to be
reformatted.
I consider this a "software error". Do you concur?
Hint; to save yourself valuable time in the future, perhaps you should limit yourself
to just the one highly questionable assertion each post.
That creaking sound you can hear, if you listen very carefully, is the thin ice upon
which you are skating starting to break.
On 11/02/2024 21:25, billy bookcase wrote:
"Simon Parker" <simonparkerulm@gmail.com> wrote in message
news:l2rts2F4d20U12@mid.individual.net...
On 08/02/2024 09:51, billy bookcase wrote:
So just to be clear before proceeding any further can you give an example >>>> of what you yourself would consider a "software error"
< remainder snipped again on the "one step at a time principle
I'll use the Visual Basic MsgBox for this example as one doesn't need to be a
software
developer to follow the code. If you'd prefer a different language, let me know and
I'll see what I can do.
<Begin Code>
Dim Msg, Style, Title, Help, Ctxt, Response, FormatAns
Msg = "Do you want to Format the Hard Drive?" ' Define Question
Style = vbYesNo Or vbCritical Or vbDefaultButton2 ' Define Buttons
Title = "Sample Software Error for Mr Bookcase" ' Define Box Title
Help = "BUGGY.HLP" ' Define Help file
Ctxt = 1000 ' Define Topic Context >>> ' Display Message and Get Response
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then ' User chose Yes
FormatAns = "Yes"
Else ' User chose No.
FormatAns = "Yes"
End If
<End Code>
Regardless of the button clicked, "FormatAns" is "Yes" and the drive is likely to be
reformatted.
I consider this a "software error". Do you concur?
Only if the user doesn't wish to format the hard drive.
Do you consider the example provided above a "software error"? A narrative answer is
not required. A simple "Yes" or "No" will suffice.> <snip "Deer Hunter" reference>
So nice try; but again no cigar
Pardon? The question posed was: "can you give an example of what you yourself would
consider a 'software error'"
Are you saying that you do not consider the example provided demonstrates a software
error?
When you again could have saved yourself so much trouble
You didn't ask me to provide the simplest example of a software error I could muster,
you asked for an example which is what I gave you.
do{print "OOPS!"}
while(2+2<>5)
The "while" would more normally reference an external
conditional which could, as it eventually turns out,
never be satisfied.
I accept that you have provided an example of a software error.
Is a point to all this likely to appear on the horizon anytime soon?
On 12/02/2024 22:19, billy bookcase wrote:
"Simon Parker" <simonparkerulm@gmail.com> wrote in message
news:l2urqjF4d1vU12@mid.individual.net...
On 11/02/2024 21:25, billy bookcase wrote:
"Simon Parker" <simonparkerulm@gmail.com> wrote in message
news:l2rts2F4d20U12@mid.individual.net...
On 08/02/2024 09:51, billy bookcase wrote:
So just to be clear before proceeding any further can you give an example
of what you yourself would consider a "software error"
< remainder snipped again on the "one step at a time
principle
>
I'll use the Visual Basic MsgBox for this example as one doesn't need to be a
software
developer to follow the code. If you'd prefer a different language, let me know
and
I'll see what I can do.
<Begin Code>
Dim Msg, Style, Title, Help, Ctxt, Response, FormatAns
Msg = "Do you want to Format the Hard Drive?" ' Define Question
Style = vbYesNo Or vbCritical Or vbDefaultButton2 ' Define Buttons
Title = "Sample Software Error for Mr Bookcase" ' Define Box Title >>>>> Help = "BUGGY.HLP" ' Define Help file >>>>> Ctxt = 1000 ' Define Topic Context >>>>> ' Display Message and Get Response
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then ' User chose Yes
FormatAns = "Yes"
Else ' User chose No.
FormatAns = "Yes"
End If
<End Code>
Regardless of the button clicked, "FormatAns" is "Yes" and the drive is likely to
be
reformatted.
I consider this a "software error". Do you concur?
Only if the user doesn't wish to format the hard drive.
Do you consider the example provided above a "software error"? A narrative answer is
not required. A simple "Yes" or "No" will suffice.> <snip "Deer Hunter" reference>
So nice try; but again no cigar
Pardon? The question posed was: "can you give an example of what you yourself would
consider a 'software error'"
Are you saying that you do not consider the example provided demonstrates a software
error?
There is no way of knowing.
The same would therefore be true of your example.
I accept that you have provided an example of a software error"
Because while you may have commented the actual code what is
conspicuously lacking is any explanation of that piece of code
is actually intended to achieve
Which in properly documented code would normally expected
at the start
The same would therefore be true of your example, which contained no comments whatsoever.
I accept that you have provided an example of a software error"
As I've explained to you more than once now, a software "fault" arises
when program or piece of code doesn't achieve the result which was
intended.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:07:38 |
Calls: | 6,708 |
Calls today: | 1 |
Files: | 12,241 |
Messages: | 5,353,638 |