Page 1 of 2

Print "Hello"

PostPosted: Wed Jul 04, 2012 1:39 pm
by Migs
So I open Q7Basic, ceate a new project called "Test" on my desktop, add the Print statement below and save it.

' this is the global scope

Event Init()
MsgBox("Init")
Print "Hello"
End Event

And it won't work.

Then I delete all the code and make the following code, and save it:

Print "Hello2"

... and it also won't run!

-Why can't I open a blank file and type "Print "Hello" and run it expecting a window with Hello as output?
-How could I do that?
-Where are some simple examples of code like the ones we used in the early 80's running on this new Q7Basic? I looked at the examples page in http://www.q7basic.org/Examples/ but there was nothing even remotely like what I learned as an engineer. (It all looks extremely complicated and with no simple I/O or printer printing of output)

Thanks amigos!

Migs

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 1:59 pm
by Henning
Try Print("Hello")

/Henning

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 2:25 pm
by Migs
Henning wrote:Try Print("Hello")

/Henning


Also won't work, and Q7Basic hangs as a result (requiring force quit)

Can I add some type of header to my programs to make Q7Basic act like a 1980's Basic?

Thanks!

Migs

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 2:43 pm
by Henning
Started a new Project as yours, works ok here.

Scrnshot Test.JPG
Scrnshot Test.JPG (97.37 KiB) Viewed 521 times


/Henning

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 3:05 pm
by Migs
Here are my screen shots in Mac OS X:
I create new project, add Print "Hello" line, save, click green arrow and:

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 3:13 pm
by Migs
...and just to add: When the error is that Q7B can't find a file it hangs in an endless loop. Also, looking for the Test5.app via search, only the Make file is found in the folder. I don't know if that helps.

Migs

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 6:07 pm
by Henning
For MAC issues we have to wait for Slowdown to show-up... ;)

Guess something is missing in the install...

/Henning

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 6:34 pm
by Slowdown
Migs is correct.
The mac version is having some difficulties on Bernd his mac everything is running fine but i have the same
error's Migs show here.
Also Designer isn't working so i guess that there are some files missing.
Important is you have to use OSX 10.7.x
Hope have some time tonight.

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 7:22 pm
by Slowdown
found for start 1 issue and reported this to Bernd.
some wrong settings in the Path/environment.

Re: Print "Hello"

PostPosted: Wed Jul 04, 2012 8:33 pm
by Migs
Thanks guys, I'll be patient...
I really do appreciate the comments.
Migs