Author Topic: Logic BASIC  (Read 14498 times)

Tomaaz

  • Guest
Re: Logic BASIC
« Reply #15 on: September 21, 2016, 06:06:18 PM »
Android is a VM that runs on top of Linux.

Must be a Linux program then. Hmmm... ;)

When I run VM on Windows, I run a Windows program. When I run VM on Linux, I run a Linux program. Well, maybe...  ;D BTW Wine is not VM.

And here is another question - is Wine a Linux program?  ;D
« Last Edit: September 21, 2016, 06:13:15 PM by Tomaaz »

ScriptBasic

  • Guest
Re: Logic BASIC
« Reply #16 on: September 21, 2016, 06:18:28 PM »
Quote
is Wine a Linux program?

Wine is a system level API that runs Windows programs under Linux.

Tomaaz

  • Guest
Re: Logic BASIC
« Reply #17 on: September 21, 2016, 06:42:19 PM »
Wine is a system level API that runs Windows programs under Linux.

John, that was kind of a rhetorical question. ;) But since you've answered it... Yes, Wine is a compatibility layer, but to be able to use it on your Linux installation you need to download and install several Linux programs and libraries. How is it different from installing native Linux programs? In most cases you will have to install several Linux programs and/or libraries, so? But please, don't take it to serious. ;) Of course, everybody here can see the difference between native Linux applications and these run under Wine, but the question is - if something run without problems under Wine, can the author claim that the program run on Linux?
« Last Edit: September 21, 2016, 06:47:29 PM by Tomaaz »

ScriptBasic

  • Guest
Re: Logic BASIC
« Reply #18 on: September 21, 2016, 06:47:58 PM »
I think the keyword is native Linux program.

Tomaaz

  • Guest
Re: Logic BASIC
« Reply #19 on: September 21, 2016, 06:55:55 PM »
I think the keyword is native Linux program.

I understand your point, but it is an ideological one. Personally, I wouldn't have anything against the situation when the software comes only in a form of Windows version, but the author makes sure that it run smoothly and without any problems under Wine. Why should I care? If the program works and the whole solution makes its developer's life easier, I can't see any reason to complain.

ScriptBasic

  • Guest
Re: Logic BASIC
« Reply #20 on: September 21, 2016, 07:41:45 PM »
I run O2 under Wine all the time. I normally use VirtualBox under Linux to run my 32 bit Windows programs.

B+

  • Guest
Re: Logic BASIC
« Reply #21 on: September 21, 2016, 07:53:49 PM »
So here is another question - is Logic Basic a BASIC? Or is it another example of what is this topic about?  ;)

Quote
Font Parent.Name = "Arial"
Font Parent.Color = Blue
Font Parent.Size = 20
...
Write "Logic Basic"

No then, no else if, no for/next loop. You need to declare variables. Well...

The words don't make a language Basic or not (but help).
What the language sets out to do, allow non programmers access to easy PL is in spirit of Basic but also they seem to want to preserve some of the flavor of old MS Basics according to Intros they present.

PS, they don't say they are a BASIC (all capitals) which to me is different than calling themselves Logic BASIC, which is how Richey has titled this thread, most provocatively!
« Last Edit: September 21, 2016, 07:57:51 PM by B+ »

Tomaaz

  • Guest
Re: Logic BASIC
« Reply #22 on: September 21, 2016, 08:20:31 PM »
PS, they don't say they are a BASIC (all capitals) which to me is different than calling themselves Logic BASIC...

Good, because it's not BASIC. ;)

Richly

  • Guest
Re: Logic BASIC
« Reply #23 on: September 21, 2016, 08:55:02 PM »
So here is another question - is Logic Basic a BASIC? Or is it another example of what is this topic about?  ;)

Quote
Font Parent.Name = "Arial"
Font Parent.Color = Blue
Font Parent.Size = 20
...
Write "Logic Basic"

No then, no else if, no for/next loop. You need to declare variables. Well...

Well, it does have...

If..Else..EndIf
While..Loop
Sub..EndSub
And...Or

...and it even has GoTo (although no line numbers :) )

Richly

  • Guest
Re: Logic BASIC
« Reply #24 on: September 21, 2016, 08:57:39 PM »
PS, they don't say they are a BASIC (all capitals) which to me is different than calling themselves Logic BASIC, which is how Richey has titled this thread, most provocatively!

Automatic, I'm afraid :)

No, I think this is a Basic rather than a BASIC, albeit a nice Basic :)

B+

  • Guest
Re: Logic BASIC
« Reply #25 on: September 21, 2016, 09:30:00 PM »
Hi Richey,

Do you have some code examples to show why you think it is nice?

These general terms, good, nice,,, Basic  :D don't really explain the opinion you are expressing.

Tomaaz has mentioned documentation, forums, support...

I checked the forum for Logic Basic, it has one board, pretty stark!
RC Basic started up around same time and has much more, N00b a member of this forum, would probably enjoy your notice of his efforts.

Logic Basic support = write an email to the authors.

I haven't checked docs, how do you set up a window?
Can you create a standalone exe? How many dll's are needed?
Oh wait,... those aren't BASIC questions.

I think, to demonstrate you know what you are talking about, you should get some code examples written up to show how easy it is to get started with the dialect. That would be a good, nice, "Basic" and effective criteria in my opinion.
« Last Edit: September 21, 2016, 09:52:58 PM by B+ »

Richly

  • Guest
Re: Logic BASIC
« Reply #26 on: September 21, 2016, 09:49:23 PM »
Hi Richey,

Do you have some code examples to show why you think it is nice?

These general terms, good, nice,,, Basic  :D don't really explain the opinion you are expressing.

Tomaaz has mentioned documentation, forums, support...

I checked the forum for Logic Basic, it has one board, pretty stark!
RC Basic started up around same time and has much more.

Logic Basic support = write an email to the authors.

I haven't checked docs, how do you set up a window?
Can you create a standalone exe? How many dll's are needed?

Well, you could always check it out yourself if you have some time  ;)

I'm going through the docs at the moment and trying out some of the examples provided. Here is a very simple illustration of how 'nice' and easy the code appears...I haven't got to the GUI controls yet:

Code: [Select]
' Array Example
Variable VarName(20) String, Age(20) Integer

VarName(0)="Amy"
Age(0)=16
VarName(1)="Danny"
Age(1)=40
VarName(2)="Andrew"
Age(2)=25

Variable x Integer
x=0
While x<=2
Write varName(x)," ",Age(x) 
x++
Loop

My first impression is that the IDE, documentation and indeed the language itself is clear, simple and uncluttered...sort of, basic...but in a good way  :)

B+

  • Guest
Re: Logic BASIC
« Reply #27 on: September 21, 2016, 10:01:28 PM »
Hi Richey,

I guess our postings have crossed paths in time.

I hadn't finished editing mine...

I guess what I would particularly like to see is a graphics example. For me, that is true test of a Basic for Beginners. This is an area that Python fails eg, the amount of work it takes to draw a box on the screen or get a key press or mouse click from the user.



Richly

  • Guest
Re: Logic BASIC
« Reply #28 on: September 21, 2016, 10:09:22 PM »
Hi Richey,

I guess our postings have crossed paths in time.

I hadn't finished editing mine...

I guess what I would particularly like to see is a graphics example. For me, that is true test of a Basic for Beginners. This is an area that Python fails eg, the amount of work it takes to draw a box on the screen or get a key press or mouse click from the user.

My interest lies in the ease of use of the GUI capabilities it might offer...

Richly

  • Guest
Re: Logic BASIC
« Reply #29 on: September 21, 2016, 10:23:19 PM »
I'm going through the docs at the moment and trying out some of the examples provided. Here is a very simple illustration of how 'nice' and easy the code appears...I haven't got to the GUI controls yet:

Code: [Select]
' Array Example
Variable VarName(20) String, Age(20) Integer

VarName(0)="Amy"
Age(0)=16
VarName(1)="Danny"
Age(1)=40
VarName(2)="Andrew"
Age(2)=25

Variable x Integer
x=0
While x<=2
Write varName(x)," ",Age(x) 
x++
Loop

My first impression is that the IDE, documentation and indeed the language itself is clear, simple and uncluttered...sort of, basic...but in a good way  :)

Here is the same code translated to C by way of comparison...

Code: [Select]
#include <stdio.h>
#include <stdlib.h>

#define SIZE 3

int main()
{
    char name[SIZE][7]={"Amy","Danny","Andrew"};
    int age[]={16,40,25};
    int x;

    while(x<=2)
    {
        printf("%s ",name[x]);
        printf("%d ",age[x]);
        x++;
    }

    return 0;
}

Some similarities, although LB is clearer I think.