|
You're up tomorrow!
|
|
|
|
|
I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Depends. Are you coding underwater?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Doesn't smell like water.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
...
40 GOSUB 2000
...
99 END
2000 PRINT "HELLO FROM SUB!"
2010 RETURN
|
|
|
|
|
This gives me flashbacks of 'learning' GWBASIC (I was too young and inexperienced to actually learn something from only the reference book given with the computer itself).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
AMSTRAD 6128 BASIC, actually. I installed an emulator recently - brought a lot of memories back !
|
|
|
|
|
My first programming was in time-shared BASIC on an HP 3000. Imagine the teacher's surprise when I was writing a substitution cipher encoder and decoder as a freshman after one week in the class. The look on the teacher's face when he found out was truly priceless. That was in about 1975.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
den2k88 wrote: Ni
it's now Ekke-ekke-ekke-ekke-ptang-zoo-boing.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
Rage wrote: We demand : another shrubbery.
FTFY
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Sometimes. I sometimes refer generally to subroutines of any sort.
Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.
modified 31-Mar-21 12:00pm.
|
|
|
|
|
I farking despise lambda functions used in that way.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
It's not a lambda as such (as I understand the term). Clarion way back in 1991 didn't have the concept of lambdas.
Clarion's routines are just subroutines embedded within parent subroutines (i.e. a procedure or function) such that they are local to their parent.
Yeah, I suppose they share some characteristics with lambdas but 'mentally' and syntactically they aren't like them.
modified 31-Mar-21 12:29pm.
|
|
|
|
|
Wow, wow, wow.. some Googling later I learned that Clarion is a 4th generation, multiparadigm programming language! I expect nothing less now!
|
|
|
|
|
Clarion... Now that's a name I have not heard in a long time...
I used it for many years, not that template stuff, but real coding. It really wasn't that bad.
|
|
|
|
|
Yes, I liked it a lot. I found it extremely pleasant to code in and very productive.
Drawing screen layouts within the source and very easy database design were real pleasures of productivity.
|
|
|
|
|
A subroutine is really a function returning void. That is how it is defined and linked in FORTRAN on all the platforms I've used.
If pigs could fly, just imagine how good their wings would taste!
- Harvey
|
|
|
|
|
I very rarely ... sorry, what did I come here for?
|
|
|
|
|
I would if anyone would talk to me.
|
|
|
|
|
I used VB6 for most of my programming life: self taught in 2002, 3 years at school (2004-2006) then 7 years at work (2012-2018).
It's been two years and a half since the last time I touched VB6 code.
Still on occasion my mind slips I still try to write VB code in C++. I hope someday I will stop writing
Do While
...
Loop
If ... Then and
For i = 0 To N
Pray for my soul.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Be strong. You'll get there!
When we give up an addiction to a dangerous substance - be it Tobacco, Heroin, or VB - you have to expect some minor lapses; we all have them.
The important thing to do is remember that you didn't slip back. You didn't reach for an ancient compiler to get your fix - you laughed at the impulse and corrected your behaviour.
We are all very proud of you!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: You didn't reach for an ancient compiler to get your fix - you laughed at the impulse and corrected your behaviour.
Sometimes the temptation is strong. "But I have to automatize a simple task with a GUI, it is so easy with VB", "It's only a small program for my parents, what damaga could it do?".
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I know, I know - we've all been there. But think of the effort you went through to get where you are - don't throw it away for a quick fix!
Remember, VB is a gateway language: you could end up coding in Python, or - gawd help us all - PHP ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What about
On Error Goto label
|
|
|
|