Deavmi wrote to Darkages <=-
I have actually come to grips with the syntax now and I love the way
you type the syntax :).
Deavmi wrote to Darkages <=-
I will also be sticking with Pascal as I like it a lot and FPC exists.
I'm also looking at relearning Pascal. Even looking at code snippets is bringing back memories, so it will be a lot less of a (re) learning curve than learning C or another language from near scratch.
... Why get even, when you can get odd?
--- MultiMail/Win32 v0.49
Γûá Synchronet Γûá Freeway BBS in Bendigo, Australia.
I'm also looking at relearning Pascal. Even looking at code snippets is bringing back memories, so it will be a lot less of a (re) learning curve than learning C or another language from near scratch.
... Why get even, when you can get odd?
--- MultiMail/Win32 v0.49
Γûá Synchronet Γûá Freeway BBS in Bendigo, Australia.
Deavmi wrote to Darkages <=-
I have actually come to grips with the syntax now and I love the way
you type the syntax :).
I've always like Pascal syntax. Pascal is the language I've done the most with, so I do have a soft spot for it.
... Borg Burgers: We do it our way; your way is irrelevant.
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
I've always like Pascal syntax. Pascal is the language I've done the
most with, so I do have a soft spot for it.
I have a soft spot for it even though I never did it back in the day (lol).
Anyone for FORTRAN? :)
Deavmi wrote to Vk3jed <=-
I was busy reading the documentation on Free Pascal's Pascal and I
shall return to it shortly.
Deavmi wrote to Vk3jed <=-
If I have any questions I will come to you :).
Deavmi wrote to Vk3jed <=-
I have a soft spot for it even though I never did it back in the day (lol).
Poindexter Fortran wrote to Deavmi <=-lol).
I have a soft spot for it even though I never did it back in the day
Anyone for FORTRAN? :)
Deavmi wrote to Vk3jed <=-
I was busy reading the documentation on Free Pascal's Pascal and I
shall return to it shortly.
Yeah, that's on my winter to do list, which is getting closer, with the last week of the summer track season upon me. :)
... We print the news WE think you need to be told.
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
Deavmi wrote to Vk3jed <=-
If I have any questions I will come to you :).
Well, it's going to take a little while to get off the ground, though I did get
"Hello World" working. LOL
... Catlapse: The cat's time between removal from a lap and awakening
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
Deavmi wrote to Vk3jed <=-
If I have any questions I will come to you :).
Well, it's going to take a little while to get off the ground, though I did get
"Hello World" working. LOL
... Catlapse: The cat's time between removal from a lap and awakening
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
Re: Re: Opinion on Pascal
By: Deavmi to Vk3jed on Mon Mar 27 2017 02:04 pm
I've always like Pascal syntax. Pascal is the language I've done the
most with, so I do have a soft spot for it.
I have a soft spot for it even though I never did it back in the day (lol).
Anyone for FORTRAN? :)
---
� Synchronet � realitycheckBBS -- http://realitycheckBBS.org
Deavmi wrote to Vk3jed <=-
Yeah, that's on my winter to do list, which is getting closer, with the last week of the summer track season upon me. :)
Awesome to hear.
Deavmi wrote to Vk3jed <=-
program hello;
begin
writeln('Hello world');
end.
Deavmi wrote to Vk3jed <=-
I just love Pascal's syntax. So frikken sexy.
Deavmi wrote to Vk3jed <=-
program hello;
begin
writeln('Hello world');
end.
I had to add
Uses Crt;
at the top, it needs the CRT unit to be able to write to the console screen.. D
... The one question you've always wanted clarified. What did she say?
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
Deavmi wrote to Vk3jed <=-
I just love Pascal's syntax. So frikken sexy.
I find it quite neat, for the most part.
... A BAND AID?!?! I'm a doctor not a... Oh yeah...
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
I find it quite neat, for the most part.
I like C's syntax. It's good and easier to type (physically with akeyboard
- not talking about the type system).
Deavmi wrote to Vk3jed <=-creen..
I had to add
Uses Crt;
at the top, it needs the CRT unit to be able to write to the console
D
FPC includes that module by default.
Ennev wrote to Vk3jed <=-
I find it quite neat, for the most part.
Cleaner to read than a bunch of {} %#%$ () () ;
Maybe it look less compact, but a code is brisk and small no because
you typed it compactly.
Remember demonstrating that years ago at a job writing the same piece
of code in Turbo Pascal and in Microsoft C.
We had a decompiler so we could see what both code looked like and at
that level it was practically indistinguishable.
And when you use Delphi the difference in the size of a .exe was
dramatic.
So at the end of the day, it's funnier to support code in Pascal than C
or Java. You can of course type less compact source code in c or java
but it's up to the developer, when pascal forces you.
while (number > 0)
{
factorial *= number;
--number;
}
or
while (nu > 0) {fa *= nu;--nu;}
it will both do the same thing, but one is so much nicer to read that
the other.
and once compiled that will end up being the same code executing in the same amount of time.
I find it quite neat, for the most part.
Cleaner to read than a bunch of {} %#%$ () () ;
Maybe it look less compact, but a code is brisk and small no because you typed
it compactly.
Remember demonstrating that years ago at a job writing the same piece of code in Turbo Pascal and in Microsoft C.
We had a decompiler so we could see what both code looked like and at that level it was practically indistinguishable.
And when you use Delphi the difference in the size of a .exe was dramatic.
Opening a windows with "hello world" with a button to close was like 15kb. where the same in c# was like 250kb because of all the stuff it was
bundling in it and that with turning the debug mode at off in both cases.
So at the end of the day, it's funnier to support code in Pascal than C or Java. You can of course type less compact source code in c or java but it's up
to the developer, when pascal forces you.
while (number > 0)
{
factorial *= number;
--number;
}
or
while (nu > 0) {fa *= nu;--nu;}
it will both do the same thing, but one is so much nicer to read that the other.
and once compiled that will end up being the same code executing in the
same amount of time.
---
� Synchronet � MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
I find it quite neat, for the most part.
Cleaner to read than a bunch of {} %#%$ () () ;
Maybe it look less compact, but a code is brisk and small no because you typed
it compactly.
Remember demonstrating that years ago at a job writing the same piece of code in Turbo Pascal and in Microsoft C.
We had a decompiler so we could see what both code looked like and at that level it was practically indistinguishable.
And when you use Delphi the difference in the size of a .exe was dramatic.
Opening a windows with "hello world" with a button to close was like 15kb. where the same in c# was like 250kb because of all the stuff it was
bundling in it and that with turning the debug mode at off in both cases.
So at the end of the day, it's funnier to support code in Pascal than C or Java. You can of course type less compact source code in c or java but it's up
to the developer, when pascal forces you.
while (number > 0)
{
factorial *= number;
--number;
}
or
while (nu > 0) {fa *= nu;--nu;}
it will both do the same thing, but one is so much nicer to read that the other.
and once compiled that will end up being the same code executing in the
same amount of time.
---
� Synchronet � MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
I like C's syntax. It's good and easier to type (physically with akeyboard
- not talking about the type system).
But so messy :-D
--------------------------
about me ? : q.ennev.com/a
---
� Synchronet � MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
I like C's syntax. It's good and easier to type (physically with akeyboard
- not talking about the type system).
But so messy :-D
--------------------------
about me ? : q.ennev.com/a
---
� Synchronet � MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
Can we all agree though that Bash is a shit language.
Re: Re: Opinion on Pascal
By: Deavmi to Ennev on Thu Mar 30 2017 10:28 pm
Can we all agree though that Bash is a shit language.
In what way? What little experience I had with it, it was no different that the strange syntax of Windows/DOS Batch scripting. I did find BASH to be more picky, though. I will agree it's a terrible language to script in, but I will add on the fact that it is the most picky.
Guess so but when you need to quickly write some code and test it out it beats things like Pascal. Also it ain't that messy - I like it quite a lot. It isn't, let's say, as elegant as Pascal - I can tell you that.
On 2017-03-30 09:12 PM, Ennev wrote:
Can we all agree though that Bash is a shit language.
Deavmi wrote to Vk3jed <=-
I had to add
Uses Crt;
at the top, it needs the CRT unit to be able to write to the consolecreen..
D
FPC includes that module by default.
I got an error until I referenced the unit, then it compiled and ran fine. :)
.... No Virus Found. AARRGGHH!! I've got the No Virus!!
--- MultiMail/Win32 v0.49
� Synchronet � Freeway BBS in Bendigo, Australia.
Re: Re: Opinion on Pascal
By: Deavmi to Ennev on Thu Mar 30 2017 10:28 pm
Can we all agree though that Bash is a shit language.
In what way? What little experience I had with it, it was no different that the strange syntax of Windows/DOS Batch scripting. I did find BASH to be more
picky, though. I will agree it's a terrible language to script in, but I will
add on the fact that it is the most picky.
-jag
Code it, script it, automate it!
Re: Re: Opinion on Pascal
By: jagossel to Deavmi on Thu Mar 30 2017 06:07 pm
Re: Re: Opinion on Pascal
By: Deavmi to Ennev on Thu Mar 30 2017 10:28 pm
Can we all agree though that Bash is a shit language.
In what way? What little experience I had with it, it was no different that the strange syntax of Windows/DOS Batch scripting. I did find BASH to
be more picky, though. I will agree it's a terrible language to script in,
but I will add on the fact that it is the most picky.
Sorry to interject here, jumping into the middle of a conversation..
I would never consider Bash a programming language any more than I would DOS.
Both are more of a 'user interface', and over time capabilities were added so someone didn't have to sit down and write a program to do something.
But.. as a scripting language, it is similar to a programming language in that
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I find bash useful for scripting system commands and simple text or flat file processing. Expect is a bit nicer when you need to react different depending on a system or program response. Then again, I think that is about what these
two were designed for...
okay then.. carry on..
--
Hemo
.... I either want less corruption, or more chance to participate in it.
---
� Synchronet � - Running madly into the wind and screaming - bbs.ujoint.org
Re: Re: Opinion on Pascal
By: jagossel to Deavmi on Thu Mar 30 2017 06:07 pm
Re: Re: Opinion on Pascal
By: Deavmi to Ennev on Thu Mar 30 2017 10:28 pm
Can we all agree though that Bash is a shit language.
In what way? What little experience I had with it, it was no different that the strange syntax of Windows/DOS Batch scripting. I did find BASH to
be more picky, though. I will agree it's a terrible language to script in,
but I will add on the fact that it is the most picky.
Sorry to interject here, jumping into the middle of a conversation..
I would never consider Bash a programming language any more than I would DOS.
Both are more of a 'user interface', and over time capabilities were added so someone didn't have to sit down and write a program to do something.
But.. as a scripting language, it is similar to a programming language in that
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I find bash useful for scripting system commands and simple text or flat file processing. Expect is a bit nicer when you need to react different depending on a system or program response. Then again, I think that is about what these
two were designed for...
okay then.. carry on..
--
Hemo
.... I either want less corruption, or more chance to participate in it.
---
� Synchronet � - Running madly into the wind and screaming - bbs.ujoint.org
I would never consider Bash a programming language any more than I would DOS
But.. as a scripting language, it is similar to a programming language in that
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
At the and it's just about what works for you :-)
So that why it's good to get a look at what's available to see what fits your for the project you have in mind.
All the roads lead to Rome.
---
Γûá Synchronet Γûá MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
Also the parser gives the funniest error messages.
Error on line 70 when it's on 36.
Re: Re: Opinion on Pascal
By: Deavmi to jagossel on Fri Mar 31 2017 15:14:51
Same thing with SQL Server and SQL Scrpits or stored procedures.
Error on line 73...
"How exactly does a blank line cause an error? This isn't BrainF***!"
I susoect it has a lot of how the scripts gets parsed in regards to line numbers; not really sure how to get to the right line with the given line number.
-jag
Code it, Script it, Automate it!
---
Γûá Synchronet Γûá MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
Deavmi wrote to Vk3jed <=-
What version of FPC are you using? Maybe your version doesn't
implicitly include it.
Deavmi wrote to Vk3jed <=-
What version of FPC are you using? Maybe your version doesn't implicitly include it.
3.0.0, if I recall.
... Manufacturing contact lenses is harder than meets the eye.
Deavmi wrote to Hemo <=-
Python is technically seen as a scripting language too but atleast it's better. Idk though. i love Python (you can use it as a command-line,
just differently).
Jagossel wrote to Hemo <=-
Re: Re: Opinion on Pascal
By: Hemo to jagossel on Thu Mar 30 2017 22:32:01
I would never consider Bash a programming language any more than I would DOS
No argument from me on that point. I get it's not a programming
language in the fact that there is no code to compile. I never said
that it is a programming language.
But.. as a scripting language, it is similar to a programming language in th
at
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I totally get that. My point is that other languages (both scrpting and programmimg languages) have SOME room for minor differenes in whitespacing.
Again, I have VERY LITTLE experience with BASH and I get tripped up
from time to time when I do use it and I have to look up some things in the manual.
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't
exist
- Accepting argumemts
- Defining functions first before calling it
Deavmi wrote to Hemo <=-
Python is technically seen as a scripting language too but atleast it's better. Idk though. i love Python (you can use it as a command-line, just differently).
Perl falls to mind as well. now there's one that is confusing. About 15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.
... I'm not anti-social; I'm just not user friendly.
--- MultiMail/Win32 v0.49
� Synchronet � - Running madly into the wind and screaming - bbs.ujoint.org
Jagossel wrote to Hemo <=-
Re: Re: Opinion on Pascal
By: Hemo to jagossel on Thu Mar 30 2017 22:32:01
I would never consider Bash a programming language any more than I would DOS
No argument from me on that point. I get it's not a programming
language in the fact that there is no code to compile. I never said
that it is a programming language.
But.. as a scripting language, it is similar to a programming language in th
at
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I totally get that. My point is that other languages (both scrpting and programmimg languages) have SOME room for minor differenes in whitespacing.
Again, I have VERY LITTLE experience with BASH and I get tripped up
from time to time when I do use it and I have to look up some things in the manual.
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't exist
- Accepting argumemts
- Defining functions first before calling it
no arguments from me on any of that. I find the more languages one tries to learn, the more confusing it can be as things do vary between them. Sometimes quite a bit. Sometimes little things, like the result when comparing strings.
C returns 0 when they match, which still trips me up, becuase most other languages I may use return 1 or true when strings match.
... Weeds! No, that is my vineyard! Ever heard of dandelion wine?
--- MultiMail/Win32 v0.49
� Synchronet � - Running madly into the wind and screaming - bbs.ujoint.org
All the roads lead to Rome.Your last line. Does that just mean "all languages do the same thing" or can get the same job done (there are exceptions though ;), I'm sure).
Deavmi wrote to Hemo <=-
On 2017-04-01 05:48 AM, Hemo wrote:
Deavmi wrote to Hemo <=-
Python is technically seen as a scripting language too but atleast it's better. Idk though. i love Python (you can use it as a command-line, just differently).
Perl falls to mind as well. now there's one that is confusing. About 15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.-
... I'm not anti-social; I'm just not user friendly.
--- MultiMail/Win32 v0.49
� Synchronet � - Running madly into the wind and screaming
bbs.ujoint.org
Perl to me is not a nice language. Ugly as hell.
Deavmi wrote to Hemo <=-
On 2017-04-01 05:48 AM, Hemo wrote:
Deavmi wrote to Hemo <=-
t'sPython is technically seen as a scripting language too but atleast i
better. Idk though. i love Python (you can use it as a command-line, just differently).
ingPerl falls to mind as well. now there's one that is confusing. About 15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.
... I'm not anti-social; I'm just not user friendly.
--- MultiMail/Win32 v0.49
� Synchronet � - Running madly into the wind and scream
-I
bbs.ujoint.org
Perl to me is not a nice language. Ugly as hell.
Lol - yes, I can see that, though it is a language I do a lot of work in and
try very hard to write in such a way that others can understand, and I comment
things heavily. I use Perl for text file manipulations mostly, I think it excels in this area. I have started doing some of my daily taks in bash scripts when I can, because others in our support team understand bash more than Perl.ing
I dabbled in Pascal back in the 1990's, even wrote a few mods for Synchronet back then that never really took off, but you can still find at least one of them in BBS archives. It was my first attempt, and much like the work I do today, it was manipulating a text file to change data. I didn't continue us
Pascal, and forgot most things.an
In 1981 I wrote a huge multiple choice quiz system in Integer Basic on the Apple ][ series. It was basically a flat file database with a front end and
editor. I aced that class, and it was a fun project. I recall the teacher used the program for a few quizes in the following years. (I gave permission)
I started a class on Python and dropped it because I couldn't get over some things. I can't recall what those things were, I should go take another look
at it.
cheers,
Hemo
Deavmi wrote to Vk3jed <=-
3.0.0, if I recall.
Isn;'t that quite new?
Jagossel wrote to Deavmi <=-
Same thing with SQL Server and SQL Scrpits or stored procedures.
Error on line 73...
"How exactly does a blank line cause an error? This isn't BrainF***!"
I susoect it has a lot of how the scripts gets parsed in regards to
line numbers; not really sure how to get to the right line with the
given line number.
Hemo wrote to Deavmi <=-
Perl falls to mind as well. now there's one that is confusing. About
15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.
Hemo wrote to Jagossel <=-
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't
exist
- Accepting argumemts
- Defining functions first before calling it
no arguments from me on any of that. I find the more languages one
tries to learn, the more confusing it can be as things do vary between them. Sometimes quite a bit. Sometimes little things, like the result when comparing strings. C returns 0 when they match, which still trips
me up, becuase most other languages I may use return 1 or true when strings match.
Deavmi wrote to Hemo <=-ometimes
no arguments from me on any of that. I find the more languages one tries to learn, the more confusing it can be as things do vary between them.
quite a bit. Sometimes little things, like the result when comparingstrings.
C returns 0 when they match, which still trips me up, becuase most other languages I may use return 1 or true when strings match.
0 makes sense. It usually is always like that. It is a neutral number.
KK4QBN wrote to Deavmi <=-
All roads might lead to rome, but you have to fork off and take other roads to get there, no single road will take you to rome, just as no single programming language would do 'everything' you would need it to
do "I presume". So its nice to have options. I find bash scriting to be very helpul, just as anything else I can grasp on to, like Qbasic for example :)
Hemo wrote to Deavmi <=-
Perl to me is not a nice language. Ugly as hell.
Lol - yes, I can see that, though it is a language I do a lot of work
in and I try very hard to write in such a way that others can
understand, and I comment things heavily. I use Perl for text file manipulations mostly, I think it excels in this area. I have started doing some of my daily taks in bash scripts when I can, because others
in our support team understand bash more than Perl.
I dabbled in Pascal back in the 1990's, even wrote a few mods for Synchronet back then that never really took off, but you can still find
at least one of them in BBS archives. It was my first attempt, and
much like the work I do today, it was manipulating a text file to
change data. I didn't continue using Pascal, and forgot most things.
In 1981 I wrote a huge multiple choice quiz system in Integer Basic on
the Apple ][ series. It was basically a flat file database with a
front end and an editor. I aced that class, and it was a fun project.
I recall the teacher used the program for a few quizes in the following years. (I gave permission)
I started a class on Python and dropped it because I couldn't get over some things. I can't recall what those things were, I should go take another look at it.
Deavmi wrote to Hemo <=-
Thanks for the info. Maybe take a look at Python and you can figure
those things out. Maybe it's the heavy use of OOP?
Jagossel wrote to Hemo <=-
Re: Re: Opinion on Pascal
By: Hemo to jagossel on Thu Mar 30 2017 22:32:01
I would never consider Bash a programming language any more than I would DOS
No argument from me on that point. I get it's not a programming language in the fact that there is no code to compile. I never said that it is a programming language.
But.. as a scripting language, it is similar to a programming language in th
at
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I totally get that. My point is that other languages (both scrpting and programmimg languages) have SOME room for minor differenes in whitespacing.
Again, I have VERY LITTLE experience with BASH and I get tripped up from time to time when I do use it and I have to look up some things in the manual.
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't exist
- Accepting argumemts
- Defining functions first before calling it
no arguments from me on any of that. I find the more languages one tries to learn, the more confusing it can be as things do vary between them. Sometimes quite a bit. Sometimes little things, like the result when comparing strings. C returns 0 when they match, which still trips me up, becuase most other languages I may use return 1 or true when strings match.
Re: Re: Opinion on Pascalr
By: Deavmi to Ennev on Fri Mar 31 2017 10:54 am
All the roads lead to Rome.Your last line. Does that just mean "all languages do the same thing" o
tocan get the same job done (there are exceptions though ;), I'm sure).
All roads might lead to rome, but you have to fork off and take other roads
get there, no single road will take you to rome, just as no single programming
language would do 'everything' you would need it to do "I presume". So its nice
to have options. I find bash scriting to be very helpul, just as anything else
I can grasp on to, like Qbasic for example :)
--
Tim Smith (KK4QBN)
KK4QBN BBS
Re: Re: Opinion on Pascal
By: KK4QBN to Deavmi on Sat Apr 01 2017 10:48 am
r
to
ng
ice
se
I like Qbasic too. I dont know why. maybe I have a goto mind.
Irv Handel
---
Γûá Synchronet Γûá Vertrauen Γûá Home of Synchronet Γûá telnet://vert.synchro.net
The day I discovered goto in C I was like whaaaaaaat?
Any language with sub routines at the least.
+----+----+----+----+----+----+----+----+----+----+
Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+
Sysop: | Kurt Hamm |
---|---|
Location: | Columbia, SC |
Users: | 8 |
Nodes: | 20 (0 / 20) |
Uptime: | 135:48:46 |
Calls: | 2,804 |
Calls today: | 1 |
Files: | 64 |
Messages: | 854,509 |