I apparently have a problem opening a console on I-Mac OS X Snow Leopard with PB 4.40. I put PureBasic on my old XT PC, and do not have a problem. Can anyone help? Can anyone verify the problem prior to my posting on the "bug" listing. Details follow.
EXAMPLE below makes simplest demonstration of problem.
EXAMPLE: This works on PC XT, but not on Mac. Explanation?
1. OpenConsole()
2. PrintN("Hello World")
3. Delay(5000)
4. CloseConsole()
5. End
I also demonstrated the problem using a Purebasic example included with the download files from fantasee (please forgive my spelling).
1. New to PureBasic. Am transitioning to Mac. Loaded & Ran ConsoleEx.pb example on I-Mac X Snow Leopard with PB 4.40 platform. Program failed to generate display screen, failed to accept keyboard input from input keyword.
2. Downloaded PB 4.40 on my old Windows XT & ran same program. Screen console generation worked & accepted input command. Displayed my name in many colors. Looks great!
3. Why does it work on PC but not Mac X?
4. Is there something I am doing wrong on Mac? Other "discussions" in forum indicate Mac Console is different (line only); but I don't see even a single line of output, or blink of screen. Does anyone have suggestions on how to get Input keyword working with I-Mac OSX and PB4.40?
Thanks for your help & best regards.
St. Paul
P.S. Other commands tried so far seem very solid on Mac. But it is frustrating that I have an inability to Open a Screen.
Mac OpenConsole problem on Mac
Mac OpenConsole problem on Mac
[img]StPaul.jpg/img]
Re: Mac OpenConsole problem on Mac
In another post fred said that the OpenConsole command does nothing on OSX and Linux, its only there for cross compatibility with the Win32 system
http://www.purebasic.fr/english/viewtop ... 19&t=38981
http://www.purebasic.fr/english/viewtop ... 19&t=38981
Re: Mac OpenConsole problem on Mac
Thanks Respondant,
I might have missed that post, so thanks. Yes, you are right that it was answered elsewhere; and, the really useful part of the reply was to use compiler option "compile to console". I've tried recompiling the previous examples with that option involked and it works great!
Thanks Again,
StPaul
I might have missed that post, so thanks. Yes, you are right that it was answered elsewhere; and, the really useful part of the reply was to use compiler option "compile to console". I've tried recompiling the previous examples with that option involked and it works great!
Thanks Again,
StPaul
[img]StPaul.jpg/img]