• Re: Opinion on Pascal

    From Vk3jed@VERT/FREEWAY to Deavmi on Mon Mar 27 08:21:00 2017
    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.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Mon Mar 27 08:22:00 2017
    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.
  • From Poindexter Fortran@VERT/REALITY to Deavmi on Mon Mar 27 09:14:20 2017
    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
  • From Ennev@VERT/MTLGEEK to Poindexter Fortran on Mon Mar 27 18:07:32 2017

    Anyone for FORTRAN? :)

    Considered it in the early 80's then I saw Pascal.

    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Vk3jed@VERT/FREEWAY to Deavmi on Tue Mar 28 08:39:00 2017
    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.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Tue Mar 28 08:40:00 2017
    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.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Tue Mar 28 08:41:00 2017
    Deavmi wrote to Vk3jed <=-

    I have a soft spot for it even though I never did it back in the day (lol).

    Haha OK, cool. Yeah, I actually did do quite a lot of Pascal back in the day. :)


    ... My brain has never had a firm grip on where my feet are.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Poindexter Fortran on Tue Mar 28 08:49:00 2017
    Poindexter Fortran wrote to Deavmi <=-

    I have a soft spot for it even though I never did it back in the day
    lol).

    Anyone for FORTRAN? :)

    I did a little FORTRAN at university. Took a bit of getting used to, but was an excellent language for mathematical work. Even had a native type for complex numbers (very handy for electronic engineering).


    ... I'm not nearly as think as you confused I am.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Thu Mar 30 19:36:00 2017
    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.

    Yeah, should be fun. :)


    ... Transporter room, beam that Tagline up immediately!
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Thu Mar 30 19:37:00 2017
    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.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Thu Mar 30 19:38:00 2017
    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.
  • From Ennev@VERT/MTLGEEK to Vk3jed on Thu Mar 30 12:14:53 2017
    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/ -
  • From Ennev@VERT/MTLGEEK to Deavmi on Thu Mar 30 15:12:59 2017
    I like C's syntax. It's good and easier to type (physically with a
    keyboard
    - not talking about the type system).

    But so messy :-D

    --------------------------
    about me ? : q.ennev.com/a

    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Vk3jed@VERT/FREEWAY to Deavmi on Fri Mar 31 06:33:00 2017
    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 console
    creen..
    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.
  • From Vk3jed@VERT/FREEWAY to Ennev on Fri Mar 31 06:51:00 2017
    Ennev wrote to Vk3jed <=-

    I find it quite neat, for the most part.

    Cleaner to read than a bunch of {} %#%$ () () ;

    Indeed! :)

    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.

    Interesting. :)

    And when you use Delphi the difference in the size of a .exe was
    dramatic.

    Yeah, some compilers were shockers back then for including bloat into their .exe files.

    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.

    I always found Pascal very readable, while C varied.

    while (number > 0)
    {
    factorial *= number;
    --number;
    }

    or

    while (nu > 0) {fa *= nu;--nu;}

    I know which I find more readable! :)

    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.

    Yep, something that's easy to support and creates efficient binary code is a good thing. :)


    ... When two Englishmen meet their first talk is of the weather.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Hemo@VERT/UJOINT to jagossel on Thu Mar 30 22:32:01 2017
    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
  • From Ennev@VERT/MTLGEEK to Deavmi on Fri Mar 31 09:24:54 2017
    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.

    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/ -
  • From Ennev@VERT/MTLGEEK to Deavmi on Fri Mar 31 09:26:17 2017
    On 2017-03-30 09:12 PM, Ennev wrote:

    Can we all agree though that Bash is a shit language.

    And yet, when i need to do something quick that i won't repeat much again i'll go there :-D

    a script in bash using grep and sed on huge file can be so quick.

    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Jagossel@VERT/MTLGEEK to Hemo on Fri Mar 31 09:46:55 2017
    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

    -jag
    Code it, Script it, Automate it!

    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Jagossel@VERT/MTLGEEK to Deavmi on Fri Mar 31 13:21:47 2017
    Re: Re: Opinion on Pascal
    By: Deavmi to jagossel on Fri Mar 31 2017 15:14:51

    Also the parser gives the funniest error messages.

    Error on line 70 when it's on 36.

    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/ -
  • From Vk3jed@VERT/FREEWAY to Deavmi on Sat Apr 1 05:13:00 2017
    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.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Hemo@VERT/UJOINT to Deavmi on Fri Mar 31 22:48:00 2017
    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
  • From Hemo@VERT/UJOINT to Jagossel on Fri Mar 31 22:52:00 2017
    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
  • From Hemo@VERT/UJOINT to Deavmi on Sat Apr 1 13:07:00 2017
    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.

    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.

    cheers,
    Hemo
    --- MultiMail/Win32 v0.49
    þ Synchronet þ - Running madly into the wind and screaming - bbs.ujoint.org
  • From Vk3jed@VERT/FREEWAY to Deavmi on Sun Apr 2 07:13:00 2017
    Deavmi wrote to Vk3jed <=-

    3.0.0, if I recall.

    Isn;'t that quite new?

    Yep, current version is 3.0.2.


    ... If you feel strongly about graffiti, sign a partition.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Jagossel on Sun Apr 2 07:25:00 2017
    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.

    I would say it's because the parser has to be sure there is an error and that it doesn't prematurely flag an error inside a long block (like a function or loop), so quite often, the offending error is well before where the compiler or interpreter flags it. For example, nest a few if-then-else statements in a bash shell script and leave out an inner "fi", and depending on the code, the error can be indicated a fair way down the script. Similar things happen when quotes aren't closed, sometimes these will go all the way to the end of the file with "unexpected end of file".


    ... I can see clearly now, my brain is gone...
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Hemo on Sun Apr 2 07:27:00 2017
    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.

    I've dabbled in Perl, took a bit of study, but looked like quite a useful language. I mostly script in BASH though, because at one stage, the code I was fiddling with most was almost all BASH scripts, and it's always available on Linux boxes. :) Haven't ventured into Python yet, but I know a lot swear by
    t.


    ... When eating an elephant, take one bite at a time.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Hemo on Sun Apr 2 07:30:00 2017
    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

    Yep, I think I've tripped up on most of these too at one stage, but you do learn the rules, eventually. :) As for those switches, I just pull up a copy of one of the many excellent references available online, when I need help with specifics of syntax. Beats my memory, which tends to favour concepts over detail.

    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.

    Same with anything where there's a lot of alternatives to learn. There's potential for confusion. :)


    ... It is better to know some of the questions than all of the answers.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Sun Apr 2 07:32:00 2017
    Deavmi wrote to Hemo <=-

    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.
    ometimes
    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.


    0 makes sense. It usually is always like that. It is a neutral number.

    It depends how you define your logic, and there's no right or wrong way for language designers to define it, as long as the programmers using that language get it right in their code! :)


    ... !enilgat cinataS !eraweB µ
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to KK4QBN on Sun Apr 2 07:36:00 2017
    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 :)

    Horses for courses. Scripting languages are very useful. On Linux in particular, scripts can often be the glue that joines other software together, and language like Python and Perl can do a lot of jobs normally associated with compiled languages on modern machines, but there's still a place for compiled code too.

    I've started my relearning of Pascal, and it's coming back to me very quickly. Hopefully by the end of winter (i.e. around September for those north of the equator ;) ), I'll be able to write some decent code again in Pascal and get some of those projects I've had on hold moving (and perhaps open source a couple :) ).


    ... The colder the X-ray table, the more of your body is required on it.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Hemo on Sun Apr 2 07:46:00 2017
    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.

    That was my impression too, though I've really done very little Perl. I'm more a BASH guy when it comes to scripting.

    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.

    I started with TP 3 on CP/M (on a Z80 Softcard in an Apple // no less!) in 1984 at school then progressed to TP on the PC in the mid 1980s and into the early 1990s. I wrote a bit of code, including my own Morse Code tutor, which was the only way I could obtain one, because there was no Internet in 1989, and I didn't have a modem anyway, and lived out in the sticks. A few years later, with the help of a friend for the Z80 assembler, I ported that code to TP 3 on CP/M, with the assembler timing routines for sound generation and Morse timing (coded as drop in functions and procedures for their DOS equivalents). That was released to the public domain on some local BBSs, but I haven't seen a copy in recent years.

    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)

    Cool. I never did much with integer basic, I was more an Applesoft guy back then, and once playing with CP/M, it was MBASIC on that platform, though I much preferred Pascal.

    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.

    I should look at Python sometime, but I have a ridiculous number of things on the go these days, relearning Padcal is a lesser learning curve, because a lot of it will simply come back to me with use.


    ... Chuck Norris can divide by zero.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Vk3jed@VERT/FREEWAY to Deavmi on Sun Apr 2 07:47:00 2017
    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?

    That's one concept that I took to fairly naturally. I encountered OOP with Java and had no problem understanding it.


    ... Spam will keep in it's can until the end of time.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Freeway BBS in Bendigo, Australia.
  • From Digital Man@VERT to Hemo on Sat Apr 1 16:43:36 2017
    Re: Re: Opinion on Pascal
    By: Hemo to Jagossel on Fri Mar 31 2017 10:52 pm

    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.

    But you're referring to strcmp(), which is just one string comparison function. You could write your own that returned a boolean value very easily:
    bool strings_match(const char* str1, const char* str2) {
    return strcmp(str1, str2) == 0;
    }

    ... or actuall compare each character in the string and return whatever you like.

    But the whole reason that strcmp() returns an integer (and not a boolean) is because it tells the caller (you) which string is "greater" (for sorting purposes), which can be very handy indeed (e.g. if < 0, then str1 is less than str2). So it does more than just tell if you 2 strings match, it tells you how the 2 strings compare with eachother.

    digital man

    Synchronet "Real Fact" #83:
    Donations to the Synchronet project are welcome @ http://wiki.synchro.net/donate
    Norco, CA WX: 74.0°F, 29.0% humidity, 15 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eyearrvee@VERT to KK4QBN on Wed Apr 12 21:55:38 2017
    Re: Re: Opinion on Pascal
    By: KK4QBN to Deavmi on Sat Apr 01 2017 10:48 am

    Re: Re: Opinion on Pascal
    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
    r
    can 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
    to
    get there, no single road will take you to rome, just as no single programmi
    ng
    language would do 'everything' you would need it to do "I presume". So its n
    ice
    to have options. I find bash scriting to be very helpul, just as anything el
    se
    I can grasp on to, like Qbasic for example :)

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    I like Qbasic too. I dont know why. maybe I have a goto mind.
    Irv Handel

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to jagossel on Sat May 27 12:14:00 2017
    Re: Re: Opinion on Pascal
    By: Deavmi to Eyearrvee on Thu Apr 13 2017 11:46 am

    The day I discovered goto in C I was like whaaaaaaat?

    It's in C# as well; although, rarely used. Never understood the "goto" in C# or any other OO language.

    Granted I was pretty guilty of using GOTO when I programmed for fun on the TRS-80 CoCo as a kid.

    Did you RETURN?

    ---
    ■ Synchronet ■ Twisted Trucker BBS, Dartmouth NS Canada
  • From Jagossel@VERT/MTLGEEK to Mortifis on Sat May 27 22:29:51 2017
    Re: Re: Opinion on Pascal
    By: Mortifis to jagossel on Sat May 27 2017 12:14:00

    Granted I was pretty guilty of using GOTO when I programmed for fun on th TRS-80 CoCo as a kid.

    Did you RETURN?

    Did I GOTO using RETURNs? :D See what I did there?

    As a kid, I used GOTO a lot and never really understood the point of GOSUBS. Now, after being a professional software developer for over 10 years, and
    going through the Usborne programming books from the 1980s that they put online for viewing (thanks to Nostalgia Nerd for providing the link to them in his video description on YouTube), I am finally beginning to see the vaule of GOSUB/RETURN: provides reusability in a structured programming paradigm, if done right. So, it would make sense that BASIC could move from being a structured paradigm to a procedural one fairly easily. Now-a-days, BASIC has become more object oriented (e.g. Visual Basic).

    -jag
    Code it, Script it, Automate it!

    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Joe Delahaye@VERT/LIONSDEN to Mortifis on Sat May 27 21:48:31 2017
    Re: Re: Opinion on Pascal
    By: Mortifis to jagossel on Sat May 27 2017 12:14:00

    The day I discovered goto in C I was like whaaaaaaat?

    It's in C# as well; although, rarely used. Never understood the
    "goto" in C# or any other OO language.

    Granted I was pretty guilty of using GOTO when I programmed for fun on
    the TRS-80 CoCo as a kid.

    Did you RETURN?

    1 If X= Y goto 10
    10 Exit




    Joe

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Mro@VERT/BBSESINF to Deavmi on Sun May 28 10:20:59 2017
    Re: Re: Opinion on Pascal
    By: Deavmi to jagossel on Sun May 28 2017 09:13 am

    Info: `finger deavmi@kk4qbn.synchro.net`


    sweet now i know your ip address
    [kk4qbn.synchro.net]
    User: Deavmi #18 In real life: Tristan B. Kildaire
    From: Worcester, ZA Handle: Deavmi
    Birth: 08/25/99 (Age: 17 years) Gender: M
    Shell: lbshell Editor:
    Last login Sun May 28 2017 10:11:51 EDT
    via HTTP from 41.164.54.42 [41.164.54.42]
    No plan.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Mickey@VERT/OXFORDMI to Joe Delahaye on Sun May 28 11:04:00 2017
    On 05/27/17, Joe Delahaye considered the following...

    1 If X= Y goto 10
    10 Exit


    HEY! THATS NOT FAIR!!! Get back here. :-)


    Mick Manning

    Central Ontario Remote BBS
    Telnet: oxfordmi.synchro.net

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Central Ontario Remote
  • From Joe Delahaye@VERT/LIONSDEN to Mickey on Sun May 28 23:01:06 2017
    Re: Re: Opinion on Pascal
    By: Mickey to Joe Delahaye on Sun May 28 2017 11:04:00

    1 If X= Y goto 10
    10 Exit


    HEY! THATS NOT FAIR!!! Get back here. :-)

    I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>


    Joe

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Jagossel@VERT/MTLGEEK to Joe Delahaye on Mon May 29 19:58:59 2017
    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 23:01:06

    I still have a working CoCo 3 sitting on the shelf. Tested it the other day the 60 inch TV. Certainly different <G>

    What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up to a 60" TV. :D

    -jag
    Code it, Script it, Automate it!


    ---
    ■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Knightmare@VERT/P99BBS to Mortifis on Mon May 29 20:28:18 2017
    Re: Re: Opinion on Pascal
    By: Mortifis to jagossel on Sat May 27 2017 12:14 pm

    It's in C# as well; although, rarely used. Never understood the
    "goto" in C# or any other OO language.

    Did you RETURN?


    I think you're confused with GOSUB.

    ---
    ■ Synchronet ■ Precinct 99 - p99bbs.homenet.org:2323 - Lewis Center, OH USA
  • From Denn Gray@VERT/OUTWEST to Joe Delahaye on Mon May 29 23:22:49 2017
    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 11:01 pm

    I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>

    wow, I have'nt messed with a CoCo since about 1990.
    My 1st computer was a 4k vic 20 then I bought a CoCo 2
    My vic 20 had a casste tape drive lol that was a huge waste loading programs. had dual 5.25 drives on my CoCo.

    ---
    ■ Synchronet ■ The Outwest BBS - outwestbbs.com - DOORS - Files -Dove-Net
  • From Joe Delahaye@VERT/LIONSDEN to Jagossel on Tue May 30 12:17:05 2017
    Re: Re: Opinion on Pascal
    By: Jagossel to Joe Delahaye on Mon May 29 2017 19:58:59

    I still have a working CoCo 3 sitting on the shelf. Tested it the
    other day the 60 inch TV. Certainly different <G>

    What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up to a 60" TV. :D

    Yup. Even played one of my games on it. One of the cartridges.


    Joe

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Joe Delahaye@VERT/LIONSDEN to Denn Gray on Tue May 30 12:19:13 2017
    Re: Re: Opinion on Pascal
    By: Denn Gray to Joe Delahaye on Mon May 29 2017 23:22:49

    I still have a working CoCo 3 sitting on the shelf. Tested it the
    other day on the 60 inch TV. Certainly different <G>

    wow, I have'nt messed with a CoCo since about 1990.
    My 1st computer was a 4k vic 20 then I bought a CoCo 2
    My vic 20 had a casste tape drive lol that was a huge waste loading programs. had dual 5.25 drives on my CoCo.

    Had both tape, and Floppies. Used the dual sided 1/2 height drives with OS9. My buddy spent the money and got a HD interface.


    Joe

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Chris@VERT/DMINE to Jagossel on Wed Jun 7 23:25:40 2017
    Re: Re: Opinion on Pascal
    By: Jagossel to Mortifis on Sat May 27 2017 10:29 pm

    Re: Re: Opinion on Pascal
    By: Mortifis to jagossel on Sat May 27 2017 12:14:00

    Granted I was pretty guilty of using GOTO when I programmed for fun on TRS-80 CoCo as a kid.

    Did you RETURN?

    Did I GOTO using RETURNs? :D See what I did there?

    As a kid, I used GOTO a lot and never really understood the point of GOSUBS. Now, after being a professional software developer for over 10 years, and going through the Usborne programming books from the 1980s that they put onl for viewing (thanks to Nostalgia Nerd for providing the link to them in his video description on YouTube), I am finally beginning to see the vaule of GOSUB/RETURN: provides reusability in a structured programming paradigm, if done right. So, it would make sense that BASIC could move from being a structured paradigm to a procedural one fairly easily. Now-a-days, BASIC ha become more object oriented (e.g. Visual Basic).

    -jag
    Code it, Script it, Automate it!



    I remember gosub basically being the 'less evil' goto. It was a more structured way of calling subroutines. I can't remember if it was used in Basic09 or if it was more a DECB/Gwbasic invention.

    ------------------------------------------------------------------
    CDP
    The Diamond Mine BBS - telnet://bbs.dmine.net
    The Retro Room - http://forums.delphiforums.com/retroroom ------------------------------------------------------------------

    ---
    ■ Synchronet ■ Diamond Mine Online - bbs.dmine.net - Fredericksburg, VA USA
  • From Chris@VERT/DMINE to Jagossel on Wed Jun 7 23:30:03 2017
    Re: Re: Opinion on Pascal
    By: Jagossel to Joe Delahaye on Mon May 29 2017 07:58 pm

    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 23:01:06

    I still have a working CoCo 3 sitting on the shelf. Tested it the other the 60 inch TV. Certainly different <G>

    What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up a 60" TV. :D

    -jag
    Code it, Script it, Automate it!


    I haven't seen it on a 60 inch tv yet, but footage from more recent Cocofest meetings show it running on modern led/lcd monitors which I thought was really cool. It's really impressive the amount of development they are doing on Cocos to this day.

    ------------------------------------------------------------------
    CDP
    The Diamond Mine BBS - telnet://bbs.dmine.net
    The Retro Room - http://forums.delphiforums.com/retroroom ------------------------------------------------------------------

    ---
    ■ Synchronet ■ Diamond Mine Online - bbs.dmine.net - Fredericksburg, VA USA
  • From Jazzy_J@VERT/JAYSCAFE to Chris on Thu Jun 8 15:19:00 2017
    Chris wrote to Jagossel <=-

    Re: Re: Opinion on Pascal
    By: Jagossel to Joe Delahaye on Mon May 29 2017 07:58 pm

    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 23:01:06

    I still have a working CoCo 3 sitting on the shelf. Tested it the other the 60 inch TV. Certainly different <G>

    What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up a 60" TV. :D

    -jag
    Code it, Script it, Automate it!


    I haven't seen it on a 60 inch tv yet, but footage from more recent Cocofest meetings show it running on modern led/lcd monitors which I thought was really cool. It's really impressive the amount of
    development they are doing on Cocos to this day.

    ------------------------------------------------------------------
    CDP
    The Diamond Mine BBS - telnet://bbs.dmine.net
    The Retro Room - http://forums.delphiforums.com/retroroom ------------------------------------------------------------------

    I've got a C64/C128 hooked to a 17" and the capability to put it on the 55" Love it.

    It looks better on a 4:3 ratio than a 19:6. The aspect stays the same, but, there is a lot of death space on the 19:6

    Jazzy_J
    ... 2 + 2 = 5 for extremely large values of 2.
    --- MultiMail/Win32 v0.49
    ■ Synchronet ■ Jay's Cafe' tn://jayscafe.jayctheriot.com 23
  • From Sam Alexander@VERT to Joe Delahaye on Fri Jun 23 13:29:06 2017
    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 11:01 pm

    Re: Re: Opinion on Pascal
    By: Mickey to Joe Delahaye on Sun May 28 2017 11:04:00

    I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>


    Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Joe Delahaye@VERT/LIONSDEN to Sam Alexander on Fri Jun 23 18:53:13 2017
    Re: Re: Opinion on Pascal
    By: Sam Alexander to Joe Delahaye on Fri Jun 23 2017 13:29:06

    I still have a working CoCo 3 sitting on the shelf. Tested it the
    other day on the 60 inch TV. Certainly different <G>


    Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.


    My first computer was a CoCo 1. Modified with internal speakes <G> The 3 also has internal speakers and max memory. We built our own mem expansion cards


    Joe





    ... Now and then an innocent man is sent to the legislature.

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Denn Gray@VERT/OUTWEST to Joe Delahaye on Fri Jun 23 22:06:54 2017
    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Sam Alexander on Fri Jun 23 2017 06:53 pm

    I still have a working CoCo 3 sitting on the shelf. Tested it the
    other day on the 60 inch TV. Certainly different <G>


    Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.

    I also started out on a CoCo 2, My brother and I ran our first BBS in 1988 on a CoCo 2 64k ram on a basic program written by my brother.
    I recently found the code of his BBS software out in my garage.
    I scanned it in pdf format and uploaded it to my BBS.
    I also have almost every Rainbow magazine on my BBS in PDF.
    I need to find a CoCo2 or 3 at a yard sale.

    ---
    ■ Synchronet ■ the Outwest BBS - outwestbbs.com
  • From Joe Delahaye@VERT/LIONSDEN to Denn Gray on Sat Jun 24 09:50:34 2017
    Re: Re: Opinion on Pascal
    By: Denn Gray to Joe Delahaye on Fri Jun 23 2017 22:06:54

    I still have a working CoCo 3 sitting on the shelf. Tested it the
    other day on the 60 inch TV. Certainly different <G>


    Cool! I cut my teeth on the Coco 2 and 3, still have both as well.
    First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.

    I also started out on a CoCo 2, My brother and I ran our first BBS in 1988 on a CoCo 2 64k ram on a basic program written by my brother.
    I recently found the code of his BBS software out in my garage.
    I scanned it in pdf format and uploaded it to my BBS.
    I also have almost every Rainbow magazine on my BBS in PDF.
    I need to find a CoCo2 or 3 at a yard sale.


    Not sure if I still have the magazines or not. May have, sicne there are two boxes sitting with the rest of the stuff.


    Joe

    ---
    ■ Synchronet ■ The Lion's Den BBS
  • From Roadhog@VERT/OUTWEST to Sam Alexander on Sun Jun 25 18:33:28 2017
    Re: Re: Opinion on Pascal
    By: Sam Alexander to Joe Delahaye on Fri Jun 23 2017 01:29 pm

    Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.

    there are many of us that started out on the CoCo, back then it was an awesome machine for the price.

    ---
    ■ Synchronet ■ the Outwest BBS - outwestbbs.com Telnet - outwestbbs.com:23
  • From Deavmi@VERT/USERCLUB to Sam Alexander on Fri Aug 18 06:25:15 2017
    Re: Re: Opinion on Pascal
    By: Joe Delahaye to Mickey on Sun May 28 2017 11:01 pm

    Re: Re: Opinion on Pascal
    By: Mickey to Joe Delahaye on Sun May 28 2017 11:04:00

    I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>


    Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
    Great to seea nother Coco user.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
    You got any compilers on that Coco currently installed?

    ---
    ■ Synchronet ■ UsersClub BBS - userclub-bbs.com