Search found 54 matches

by SparrowhawkMMU
Tue Sep 02, 2025 5:12 pm
Forum: Coding Questions
Topic: [SOLVED] Progress bars, events, macOS - howto?
Replies: 3
Views: 383

Re: Progress bars, events, macOS - howto?

Thank you so much infratec! That makes much more sense, thank you :)
by SparrowhawkMMU
Tue Sep 02, 2025 2:59 pm
Forum: Coding Questions
Topic: [SOLVED] Progress bars, events, macOS - howto?
Replies: 3
Views: 383

[SOLVED] Progress bars, events, macOS - howto?

Hi,

PB 6.21
macOS 15.6.1 (although ideally I'd love for this to work on Win and Linux too at some stage)

I know that this has been discussed before, but to be honest I did not understand the solutions and some don't work on macOS anyway (ie simulating a DoEvents with an embedded mini ...
by SparrowhawkMMU
Fri Aug 29, 2025 12:53 pm
Forum: Bugs - IDE
Topic: CMD+Quit - PB hangs
Replies: 9
Views: 2162

Re: CMD+Quit - PB hangs

This appears to be resolved now (for me at least)

macOS 15.6.1, PB
IDE build on 06/09/2025 [15:50] by fred
Branch: v6.21 Revision: f84e3797a718
by SparrowhawkMMU
Fri Aug 29, 2025 10:35 am
Forum: Coding Questions
Topic: RunProgam - tar
Replies: 8
Views: 911

Re: RunProgam - tar

@piero
I tried hard coding ls -l /Users and that gave me the same error
How dare you write such a blasphemy? :x (I'm kidding)
:D

PS/Edit:
Just in case: I noticed you use a "Break" in your code; do you know that CloseProgram does not quit it?

I am an eternal relearner of PB ;) I use it for ...
by SparrowhawkMMU
Wed Aug 20, 2025 3:56 pm
Forum: Coding Questions
Topic: RunProgam - tar
Replies: 8
Views: 911

Re: RunProgam - tar

Hi, thank you both. Will try these solutions out and let you know how I get on.
by SparrowhawkMMU
Fri Aug 15, 2025 11:18 am
Forum: Coding Questions
Topic: RunProgam - tar
Replies: 8
Views: 911

Re: RunProgam - tar

@piero - I'm afraid that I can't get it to work, even when using one of the two shell procs you have on that thread.

When I pass the command to Shell() single quoted, I get:
Error: /bin/sh: line 1: tar --zstd -xvf "/Users/xxx/Desktop/vcv/v2/test_file_1.vcv" -C /tmp/ patch.json: No such file or ...
by SparrowhawkMMU
Thu Aug 14, 2025 8:56 pm
Forum: Coding Questions
Topic: RunProgam - tar
Replies: 8
Views: 911

Re: RunProgam - tar

Thanks :)
by SparrowhawkMMU
Thu Aug 14, 2025 5:14 pm
Forum: Coding Questions
Topic: RunProgam - tar
Replies: 8
Views: 911

RunProgam - tar

Hi,

macOS 15.6, Apple Silicon

I'm trying to get RunProgram to run the following command (filename will vary) which works fine from Terminal (ie a JSON file is extracted and placed in /tmp)


tar --zstd -xvf "/Users/xxxx/Desktop/vcv/v2/some file name.vcv" -C /tmp/ patch.json


But I get this ...
by SparrowhawkMMU
Fri Aug 01, 2025 8:37 pm
Forum: Mac OSX
Topic: SOLVED: #PB_Menu_Quit - constant not found
Replies: 3
Views: 467

Re: #PB_Menu_Quit - constant not found

Oh thanks, I had no idea these differed between OSes. Will look at the proposed solution above, thank you.
by SparrowhawkMMU
Fri Aug 01, 2025 3:03 pm
Forum: Mac OSX
Topic: SOLVED: #PB_Menu_Quit - constant not found
Replies: 3
Views: 467

SOLVED: #PB_Menu_Quit - constant not found

Hi,

I've just installed PureBasic 6.21 on ZorinOS 17.3 (based on Ubuntu 22.04).

An old program of mine which compiles fine under macOS 15.6 (and whatever OS X version was current when I wrote this 6 years ago) fails with this error on the above Linux:

[COMPILER] Line 49: Constant not found #PB ...
by SparrowhawkMMU
Wed Apr 09, 2025 10:35 am
Forum: Bugs - IDE
Topic: CMD+Quit - PB hangs
Replies: 9
Views: 2162

Re: CMD+Quit - PB hangs

I can confirm what mk-soft has already stated, that disabling the session history has no effect.

Another problem occurred as I was testing this - I opened PB on my built in screen, opened the Settings form and dragged it onto my main monitor (I have 1 external monitor linked via HDMI on a USB hub ...
by SparrowhawkMMU
Tue Apr 08, 2025 3:22 pm
Forum: Bugs - IDE
Topic: CMD+Quit - PB hangs
Replies: 9
Views: 2162

CMD+Quit - PB hangs

I'm not sure whether this is a problem unique to myself or not, but I've noticed that since upgrading* macOS to Sequoia 15.4 (24E248), CMD-Q hangs PB after which I have to force quit it via the Finder. Using the Quit menu item in the main PB menu however exits cleanly without error.

This happens ...
by SparrowhawkMMU
Wed Sep 23, 2020 3:15 pm
Forum: General Discussion
Topic: Which BASICs have been you using in your life?
Replies: 61
Views: 29533

Re: Which BASICs have been you using in your life?

These are the ones I've used a lot over the years - I've dabbled with many others, as I'm most of us have:

Sinclair ZX81 BASIC
Sinclair ZX Spectrum BASIC
BBC BASIC (Acorn BBC Micro, Windows)
Amstrad CPC BASIC (Locomotive?)
Sinclair QL SuperBASIC (my favourite, still use it on Q68, a modern super-QL ...
by SparrowhawkMMU
Sat Apr 06, 2019 3:44 pm
Forum: Announcement
Topic: Udemy formation about OOP with PB
Replies: 6
Views: 5520

Re: Udemy formation about OOP with PB

C'est très généreux, merci :)
by SparrowhawkMMU
Tue Apr 02, 2019 12:13 pm
Forum: Mac OSX
Topic: Problem running Purebasic
Replies: 11
Views: 4483

Re: Problem running Purebasic

No idea what that eror means either, but it's all helpful for Fred to debug with.

I also tested 5.70LTS on my ageing 2010 MBP running High Sierra - all fine there too, I was able to compile and debug various small programs.


Just on a side note, SpiderBasic 2.21 also works fine on both systems. So ...