http://gambaswiki.org/wiki/doc/diffvb lists "Differences From Visual Basic" and says "Gambas is not intended to be a clone of Microsoft Visual Basic" and "you can't simply copy your VB projects over and expect them to compile under Gambas".
Gambas: Visual Basic on Linux
51–60 of 89 posts
Re: Gambas: Visual Basic on Linux
#52Re: Gambas: Visual Basic on Linux
#53Sourceforge? Is this an old post?
Not everyone is jumping into Github.
Re: Gambas: Visual Basic on Linux
#54Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…
Don't you think that "ideological reasons" can be quite a good reason to do things? Besides, following ideological reasons only means to value certain (other) aspects higher for evaluating the question how good something is. Usually the term ideological implies (in my book) that a person is considering the greater good, and willing to take a step back in own convenience. That sounds like a nice person to me. Maybe yo…
Example : there are cases of babies dying because their parents refused to give them animal milk.
Be pragmatic : you don't want to hurt animals, OK, but why not raising a couple chicken to get some eggs ?
Fwiw, my servers are Linux, but my desktop is Windows (it's not for lack of trying Linux as a desktop).
Re: Gambas: Visual Basic on Linux
#55Earlier quoted context omitted.
>Thankfully, in Gambas you cannot use GOTO to trap errors! Instead, use CATCH, FINALLY or TRY For error handling goto is generally much clearer than using exceptions.
The construction being referenced is On Error [ERR_NO] Goto LABEL, which is not usually local to the error, and, depending on the dialect may be a generic handler that first needs to figure out what error it's handling.
Re: Gambas: Visual Basic on Linux
#56In the same vein, we have Lazarus vs Delphi: https://www.lazarus-ide.org/
Re: Gambas: Visual Basic on Linux
#57Re: Gambas: Visual Basic on Linux
#58Earlier quoted context omitted.
The construction being referenced is On Error [ERR_NO] Goto LABEL, which is not usually local to the error, and, depending on the dialect may be a generic handler that first needs to figure out what error it's handling.
Or, worse, and common in classic VB, ON ERROR RESUME NEXT. Which just skips the line that errored.
(With the obvious exceptions of longjmp and panic/defer, global vs local var, and Go forcing to assign the error.)
On Error Resume Next isn't great, but calling it much worse than On Error Goto, or much worse than other languages, is a stretch.
My point is only that people complain about it in VB disproportionally often compared to other languages. (Does that mitigate the issue to some extent, if every VB dev is super aware of it?)
Re: Gambas: Visual Basic on Linux
#59Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…
A most uncomfortable truth!
Re: Gambas: Visual Basic on Linux
#60Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…