It is currently Fri Oct 30, 2020 2:21 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: OpenConsole() not working on Mac OSX?
PostPosted: Thu Apr 16, 2020 2:13 am 
Offline
User
User
User avatar

Joined: Fri Jan 08, 2010 2:30 am
Posts: 19
Location: Oregon USA
Been out of the loop with pure basic a few years.
Upgraded Mac OSX from Snow Leopard to High Sierra 10.13.6
Pure Basic quit working
Added X-Code 9 to Mac per forum suggestion. Can not get 10.1 any more
Pure Basic working with debug and with MessageRequester
BUT I can't seem to get an OpenConsole. No errors, just no console.

OpenConsole()
Print("Press enter to exit")
Input()
End

Attempted to load hybrid leading to X-Code 10-2-1.
Pure Basic still works, But OpenConsole() has no effect. The input command above does not interrupt the code. ANY IDEAS? I really do like PureBasic & would like to get back to it now I am retired & have time.

_________________
[img]StPaul.jpg/img]


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenConsole() not working on Mac OSX?
PostPosted: Thu Apr 16, 2020 3:55 am 
Offline
User
User
User avatar

Joined: Fri Jan 08, 2010 2:30 am
Posts: 19
Location: Oregon USA
Hi Everybody,

About my previous posting. Problem solved. I found this old reply from Fred, a long time ago. It fixes the issue I was having with OpenConsole(). I am quite happy I can return to my old ways of programming with pure basic! No more Matlab. Maybe a bit of Python.

This is a great forum & a wonderful product. Thank you everyone.

StPaul

Fred's Reply is Below:
Just ensure you call it (for crossplateform reason) and you set the executable type as "Console" in the compiler options and it should be fine.

_________________
[img]StPaul.jpg/img]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye