I can't belive this
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
maybe it's intentionally designed to keep the web server from running too fast. -c
Though the cough, hough and hiccough so unsought would plough me through, enough that I o'er life's dark lough my thorough course pursue. --Stuart Kidd
-
maybe it's intentionally designed to keep the web server from running too fast. -c
Though the cough, hough and hiccough so unsought would plough me through, enough that I o'er life's dark lough my thorough course pursue. --Stuart Kidd
If that is the case, he should throw in some loops that don't do anything (or maybe it can assign a variable to itself). Ryan Johnston
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
Carlos Antollini wrote: fecha = fecha Carlos Antollini wrote: nombre = nombre I´m impressed... :omg::wtf::omg::wtf::omg::wtf::omg: Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
Any chance you can set him up for an interview? We just gotta ask him whattahell he was thinking... I mean, using Spanish variables names inside an English program, geesh! :-) Regards, Alvaro Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein
-
Any chance you can set him up for an interview? We just gotta ask him whattahell he was thinking... I mean, using Spanish variables names inside an English program, geesh! :-) Regards, Alvaro Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein
Was it an English program? It looked like the only english was the dirty VB. Ryan Johnston
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
Maybe his english cousin works here ;P I've seen code very similar to that where I work Paresh Solanki "To the world, you may be just one person, but to one person, you may be the world"
-
Was it an English program? It looked like the only english was the dirty VB. Ryan Johnston
Ryan Johnston wrote: Was it an English program? It looked like the only english was the dirty VB. I wonder how much more difficult it is to learn to programme if English is not your first language? Most entities in programming are verbs and adjectives which are named to help you understand what they do. Just curious. regards, Paul Watson Bluegrass Cape Town, South Africa Simon Walton wrote: "You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
-
Ryan Johnston wrote: Was it an English program? It looked like the only english was the dirty VB. I wonder how much more difficult it is to learn to programme if English is not your first language? Most entities in programming are verbs and adjectives which are named to help you understand what they do. Just curious. regards, Paul Watson Bluegrass Cape Town, South Africa Simon Walton wrote: "You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
No kidding, it seems like VB's heavyier use of English makes it even harder than a language like C++. Ryan Johnston
-
Carlos Antollini wrote: fecha = fecha Carlos Antollini wrote: nombre = nombre I´m impressed... :omg::wtf::omg::wtf::omg::wtf::omg: Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
Also me, but I think that is because that developer need to reaffirm the value of the variable.... :-D:-D:-D Carlos Antollini. Sonork ID 100.10529 cantollini
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
"Dear Antonito", mamacita said weeping, "when you leave our beautiful San Paolitinito, take care of all the robbers and bad americans everywhere. They steal and rob you blind! Your uncle Jesus from San Paolitano said they can even steal your name and birth date!" (of course, she said it in spanish..) And so, Antonio got into the routine of frequently checking if name & date are still there... But I think the self-asignment is just some internal "VB is type free" mess, like converting the type-free String object fecha into a type free string-as-in-zero-terminated-sequence-of-characters fecha. Or a type free double indirectly referenced object with a default (type free saiztsoc) String property into a type-free you already stopped reading about this String thing, didn't you? Disclaimer: To avoid offendance, software developers of spanish or hispanic origin coming from a small villages where mommy still cries when they leave for big town never to come back, or people overly sympathetic with sdoshocfsvwmscwtlfbtntcb are obligatory exempt from reading this post.
You don't need to sleep to see a nightmare Anne Clark [sighist]
-
"Dear Antonito", mamacita said weeping, "when you leave our beautiful San Paolitinito, take care of all the robbers and bad americans everywhere. They steal and rob you blind! Your uncle Jesus from San Paolitano said they can even steal your name and birth date!" (of course, she said it in spanish..) And so, Antonio got into the routine of frequently checking if name & date are still there... But I think the self-asignment is just some internal "VB is type free" mess, like converting the type-free String object fecha into a type free string-as-in-zero-terminated-sequence-of-characters fecha. Or a type free double indirectly referenced object with a default (type free saiztsoc) String property into a type-free you already stopped reading about this String thing, didn't you? Disclaimer: To avoid offendance, software developers of spanish or hispanic origin coming from a small villages where mommy still cries when they leave for big town never to come back, or people overly sympathetic with sdoshocfsvwmscwtlfbtntcb are obligatory exempt from reading this post.
You don't need to sleep to see a nightmare Anne Clark [sighist]
peterchen wrote: And so, Antonio got into the routine of frequently checking if name & date are still there... CLAP CLAP CLAP!!! LOL:-D:-D:-D Carlos Antollini. Sonork ID 100.10529 cantollini
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
I thing he/she, for sure, missed part of code:
if fecha <> "" then fecha = fecha if fecha <> "" then MessageBox("It seems operator '=' works fine."); else MessageBox("Something is wrong with '=' operator, please call Microsoft or Intel."); end if else fecha = rs("fecha_opera") end if
-
I was reading a code in VBScript written by other developer and I can't believe that....
if fecha <> "" then
fecha = fecha
else
fecha = rs("fecha_opera")
end ifif nombre <> "" then
nombre = nombre
else
nombre = rs("nombre_usuario")
end if
.
.
.
'And continuesCheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini
-
I thing he/she, for sure, missed part of code:
if fecha <> "" then fecha = fecha if fecha <> "" then MessageBox("It seems operator '=' works fine."); else MessageBox("Something is wrong with '=' operator, please call Microsoft or Intel."); end if else fecha = rs("fecha_opera") end if
THIS is what I call error handling! Concussus surgo. When struck I rise.