Search found 33 matches

by Gary.Maine
Mon Jan 03, 2022 1:16 am
Forum: Coding Questions
Topic: #PB_Any Question ?
Replies: 3
Views: 386

Re: #PB_Any Question ?

Fred can confirm that but my guess about what #PB_Any force the gadget library to do is to generate a 64 bits UUID of some sort. That's probably why you get a different value each time you run your program. Best regards StarBootics StarBootics, Makes sence, Just seem it may take more processing at ...
by Gary.Maine
Mon Jan 03, 2022 12:29 am
Forum: Coding Questions
Topic: #PB_Any Question ?
Replies: 3
Views: 386

#PB_Any Question ?

Hi All, This is not an issue, just wondering why, if you compile and run the following code from the IDE, note if press Button_0 and then press Button_1 and look at the Dubug Results. Close the program and run it again, the results of Button_0 is not te same. Just wondering why? Thanks Procedure Ope...
by Gary.Maine
Wed Mar 03, 2021 3:27 pm
Forum: Linux
Topic: Help with Console?
Replies: 2
Views: 4141

Re: Help with Console?

Marc56us,

Duh.... It was getting late. Thanks
by Gary.Maine
Wed Mar 03, 2021 2:41 am
Forum: Linux
Topic: Help with Console?
Replies: 2
Views: 4141

Help with Console?

This simple code works fine with Windows, but not with Ubuntu 20.04, no console is dipayed. OpenConsole() PrintN("Waiting 5 secs before quit...") Delay(5000) This will run on linux, but again no console is displayed. OpenConsole() x$ = "Waiting 5 secs before quit..." ConsoleLocat...
by Gary.Maine
Mon Feb 01, 2021 11:38 pm
Forum: Linux
Topic: Compiler Crashing
Replies: 0
Views: 3551

Compiler Crashing

After upgrading my HDD to a SSD and reinstalling Ubuntu 20.04 (same as before) and reinstalling PB 5.72LTS I have the following problem. When I load any file into the IDE, or no file at all, choose Compile / Run I get the following error: "The compiler appears to have crashed or quit unexpected...
by Gary.Maine
Fri Oct 02, 2020 1:22 am
Forum: Feature Requests and Wishlists
Topic: Compiler Directives
Replies: 4
Views: 2245

Re: Compiler Directives

Nope, #PB_Compiler_Console = Syntax error Under Linux.

I will find a work around ..... but thanks for the responce.
by Gary.Maine
Thu Oct 01, 2020 6:32 pm
Forum: Feature Requests and Wishlists
Topic: Compiler Directives
Replies: 4
Views: 2245

Re: Compiler Directives

Thanks!
by Gary.Maine
Thu Oct 01, 2020 2:48 am
Forum: Feature Requests and Wishlists
Topic: Compiler Directives
Replies: 4
Views: 2245

Compiler Directives

When dealing with cross platform apps, It would be helpfull to have a complile driective like #Compile_Console
by Gary.Maine
Thu Oct 01, 2020 2:40 am
Forum: Coding Questions
Topic: Simple Console No Go!
Replies: 7
Views: 1415

Re: Simple Console No Go!

Thank You!
by Gary.Maine
Thu Oct 01, 2020 1:51 am
Forum: Coding Questions
Topic: Simple Console No Go!
Replies: 7
Views: 1415

Re: Simple Console No Go!

Paul wrote:Under "Compiler Options" did you set "Executable Format" to "Console" ??
Yes that solved the issue. But why is it not the same in Win????? And not Documented?

Thanks for the help!!

Gary
by Gary.Maine
Thu Oct 01, 2020 1:45 am
Forum: Coding Questions
Topic: Simple Console No Go!
Replies: 7
Views: 1415

Re: Simple Console No Go!

Paul wrote:Under "Compiler Options" did you set "Executable Format" to "Console" ??
No I did not, in Linux or Win10. Is this OS depenent?
by Gary.Maine
Thu Oct 01, 2020 1:25 am
Forum: Coding Questions
Topic: Simple Console No Go!
Replies: 7
Views: 1415

Re: Simple Console No Go!

Ok, but why is this not working on Linux? Yet it still works on Win10?

Code: Select all

OpenConsole("Test")
;ConsoleLocate(100,100)

  A$ ="xxxxxxxx"

  PrintN(A$)
Debug A$


Delay(5000)
by Gary.Maine
Wed Sep 30, 2020 1:30 am
Forum: Coding Questions
Topic: Simple Console No Go!
Replies: 7
Views: 1415

Simple Console No Go!

This simple code works fine in win10, but no console is diplayed in Ubuntu 18.04?

Code: Select all


OpenConsole("Test")
ConsoleLocate(100,100)

  A$ ="xxxxxxxx"

  PrintN(A$)
Debug A$


Delay(5000)
// Moved from "Bugs - Linux" to "Coding Questions" (Kiffi)
by Gary.Maine
Mon Sep 14, 2020 10:34 pm
Forum: General Discussion
Topic: Which BASICs have been you using in your life?
Replies: 61
Views: 22096

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

My long history with Basic:

GW Basic
Turbo Basic
PowerBasic for DOS
IBM VisualAge for Basic for OS/2 and Windows
PowerBasic for Windows
PureBasic
by Gary.Maine
Tue Jan 07, 2020 9:37 pm
Forum: General Discussion
Topic: Why is this???
Replies: 24
Views: 4653

Re: Why is this???

wilbert wrote:
Gary.Maine wrote:The issue here is not so much Float vs Double, but Linux vs Windows.
PureBasic relies on the OS to format a number (a C function of the printf family).
The Windows implementation is probably slightly different from macOS / Linux.
So I have found!

Thanks