Programming Question of the Week?
-
In VB3 you could use optional line numbers. We had a doofus who would put them in as it 'helped with debugging'. We had him humanely destroyed.
veni bibi saltavi
You can still do that (use line numbers, that is) - I just checked in my VS 2015. Not only for VB, even for C#! :~ Tools / Options / Text Editor / Basic (or C#) - And there it is: The Line numbers checkbox :laugh:
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the time -
I don't get this fad in "functional programming". Who can recommend a decent dysfunctional language?
Life is too shor
Javascript! A perfectly dysfunctional language! ;P (and also a perfectly cromulent one! ;) )
All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!
-
In VB3 you could use optional line numbers. We had a doofus who would put them in as it 'helped with debugging'. We had him humanely destroyed.
veni bibi saltavi
You can still use line numbers in the latest version of VB.NET:
10: Dim i As Integer = 1
20: Console.WriteLine("Nope")
30: If i < 10 Then
40: i += 1
50: Goto 20
60: End If
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
The line numbering takes me way further back than VB.Net, all the way to Commodore 64 (and as you know, I'm in a nostalgic mood today :laugh:) :thumbsup:
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the timeAh, yes... line numbering... and then you realize you need a chunk of code in the middle and no line numbers are left. That created a need for a program that could renumber your code. Fondly remembered...
-
Ah, yes... line numbering... and then you realize you need a chunk of code in the middle and no line numbers are left. That created a need for a program that could renumber your code. Fondly remembered...
IIRC most, if not all, BASIC systems supported a
RENUM
command.veni bibi saltavi
-
IIRC most, if not all, BASIC systems supported a
RENUM
command.veni bibi saltavi
Missing in Commodore BASIC and C-64 BASIC which was an even older version of Commodore BASIC. Commodore BASIC had decent garbage handling; C-64.. not so much.
-
Shouldn't there have been a
_GoTo_
somewhere in there? :confused: And an_On Error Resume Next_
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the time -
VBA is the language of Office macros. It's like VB6-lite - all the horrible syntax and design decisions, with some extra restrictions on top. And VB.NET still supports both
On Error ...
andGoto
.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Sinisa Hajnal wrote:
VB.NET is object oriented
Yes, but you can still use GoTo! ;)
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the time -
I don't get this fad in "functional programming". Who can recommend a decent dysfunctional language?
Life is too shor
megaadam wrote:
Who can recommend a decent dysfunctional language?
Python Ruby VB PHP Javascript C++ (yes, C++, because from what I've seen, what was once elegant has become a monster in symbol obfuscation hell) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Sinisa Hajnal wrote:
VB.NET is object oriented
Yes, but you can still use GoTo! ;)
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the time -
VBA is the language of Office macros. It's like VB6-lite - all the horrible syntax and design decisions, with some extra restrictions on top. And VB.NET still supports both
On Error ...
andGoto
.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
On Error... legacy. Just because it exists, doesn't mean you have to use it. You could use regex to traverse XML documents and yet, most people use XmlDocument and related classes Or you could use COBOL... goto exists in C# too and I'm sure there is some obscure reference or use for it in java too :) I know for sure it is used in various SQL variations in stored procedures X|
-
I don't get this fad in "functional programming". Who can recommend a decent dysfunctional language?
Life is too shor
APL...A Programming Language (APL (programming language) - Wikipedia, the free encyclopedia[^]
-
COBOL It was damn dysfunctional when I wrote in it!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
True, it's procedural -- like lawyers
I wanna be a eunuchs developer! Pass me a bread knife!
-
A Haiku about VB.NET coding:
No no no no no
No no no no no no no
No no no no noBad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Must write VB code? Only one thing you can do Call JSOP
I wanna be a eunuchs developer! Pass me a bread knife!