Search found 48 matches

by rootuid
Tue Jul 29, 2025 11:05 pm
Forum: The PureBasic Editor
Topic: anyone using VsCode with Purebasic?
Replies: 8
Views: 681

anyone using VsCode with Purebasic?

I'm aware of these two plugins:
PureBasic Extension last updated 2018
PureBasic language last updated 2018
Both of them don't appear to work in 2025. Are there any other Purebasic plugins?

How do I compile and debug from VsCode? I imagine I tell VsCode to use the purebasic command line compiler ...
by rootuid
Tue Jul 29, 2025 4:30 pm
Forum: Mac OSX
Topic: PUREBASIC_HOME
Replies: 4
Views: 572

Re: PUREBASIC_HOME

excellent that works.

thanks
by rootuid
Tue Jul 29, 2025 2:42 pm
Forum: Mac OSX
Topic: PUREBASIC_HOME
Replies: 4
Views: 572

PUREBASIC_HOME

My compiler is located
/Applications/PureBasic.app/Contents/Resources/compilers/pbcompiler
and has been added to my path.


When I try and compile from the command line I get this error
PureBasic 6.21 - C Backend (MacOS X - arm64) Free
Loading external modules...
Error: The 'PUREBASIC_HOME' env ...
by rootuid
Tue Jul 29, 2025 1:33 pm
Forum: The PureBasic Editor
Topic: no function information on hover over
Replies: 2
Views: 351

no function information on hover over

When I hover over a function such as OpenScreen I don't get any information about the function. I'm sure this happened previously in the editor, did I somehow turn if off and how do I turn it back on ?

Code: Select all

OpenScreen(scrw,scrh)
CreateSprite(999,scrw,scrh)
PureBasic 6.21 on Mac.

thanks :)
by rootuid
Tue Dec 17, 2024 3:43 pm
Forum: Coding Questions
Topic: LoadModule() is not a function, array, list, map or macro.
Replies: 2
Views: 421

Re: LoadModule() is not a function, array, list, map or macro.

Ahhh, thank you.

Not sure how I got to that old documentation.
by rootuid
Tue Dec 17, 2024 2:59 pm
Forum: Coding Questions
Topic: LoadModule() is not a function, array, list, map or macro.
Replies: 2
Views: 421

LoadModule() is not a function, array, list, map or macro.

I'm trying to run this example code

If InitSound() = 0
MessageRequester("Error", "Sound system not available.") : End
EndIf

FileName$ = OpenFileRequester("","","Modules (*.mod, *.xm, *.it)|*.mod;*.xm", 0)
If FileName$
If LoadModule(0, FileName$)
PlayModule(0)
MessageRequester("PureBasic ...
by rootuid
Tue Jul 16, 2024 12:47 am
Forum: Coding Questions
Topic: old code drawing issue
Replies: 5
Views: 1361

Re: old code drawing issue

Same code , different version (PureBasic 6.11 LTS - C Backend (MacOS X - arm64)) of Purebasic and it works.

I think it a bug fixed here https://www.purebasic.fr/english/viewtopic.php?t=83613
by rootuid
Mon Jul 15, 2024 11:00 pm
Forum: The PureBasic Editor
Topic: command line docs differ from command line
Replies: 2
Views: 2886

Re: command line docs differ from command line

As yes, the local pure basic help file is correct for my os, thanks.
by rootuid
Mon Jul 15, 2024 7:10 pm
Forum: The PureBasic Editor
Topic: command line docs differ from command line
Replies: 2
Views: 2886

command line docs differ from command line

I'm using PureBasic 6.11 LTS - C Backend (MacOS X - arm64).

If I run
$ ./PureBasic --help

I get the following information:
Usage: purebasic [options] files...

Options:
-v or --version Display version information and quit
-h or --help Display commandline help

Launching the IDE:
-p or ...
by rootuid
Fri Jul 12, 2024 11:56 am
Forum: The PureBasic Editor
Topic: possibly to use a different ide ?
Replies: 4
Views: 2412

possibly to use a different ide ?

Hi,
Is it possible to use a different ide which then calls Purebasic for compilation and debugging ?

I'm used to using Visual Code on Mac.

I saw this post https://www.purebasic.fr/english/viewtopic.php?p=619926#p619926 but I'm not sure what a liner is/does also the post appears to be Windows only ...
by rootuid
Fri Jul 12, 2024 10:31 am
Forum: Game Programming
Topic: Abstract paintings
Replies: 10
Views: 8915

Re: Abstract paintings

Very nice, reminds me of a windows screensaver.

Why does ShowCursor_(0) not work on Mac?
by rootuid
Thu Jul 11, 2024 12:39 pm
Forum: Coding Questions
Topic: KK_Window() woes
Replies: 4
Views: 818

Re: KK_Window() woes

Now that you mention it, I can see the procedure in a compiled library but I don't see where it's imported.

thanks for your help!
by rootuid
Thu Jul 11, 2024 11:24 am
Forum: Coding Questions
Topic: KK_Window() woes
Replies: 4
Views: 818

KK_Window() woes

I'm attempting to run some code found on the internet on a MacBook Air M2 with Purebasic 6.11 LTS.

The code was written in 2023 for PureBasic 5.73 LTS
InitSound()
UsePNGImageDecoder()
Global yoff=40

Global xmax=640-16,ymax=128+12,ymin=52+4

KK_Window(640,480)
......


When attempting to compile ...
by rootuid
Fri Mar 08, 2024 2:48 pm
Forum: Coding Questions
Topic: How to use includeBinary() ?
Replies: 2
Views: 463

Re: How to use includeBinary() ?

Many thanks Fred, I got it working!
by rootuid
Fri Mar 08, 2024 2:30 pm
Forum: Coding Questions
Topic: How to use includeBinary() ?
Replies: 2
Views: 463

How to use includeBinary() ?

I have some code which plays some music


InitSound()
LoadMusic(1,"b.it")

If InitSprite() = 0 Or InitKeyboard() = 0
MessageRequester("Error", "Sprite system can't be initialized", 0)
End
EndIf

If OpenScreen(1920, 1200, 32, "Sprite")
PlayMusic(1)
Repeat

ExamineKeyboard()
Until ...