Search found 3417 matches

by Little John
Wed May 19, 2021 10:57 am
Forum: Announcement
Topic: PureBasic 6.00 Alpha 5 released !
Replies: 245
Views: 51610

Re: PureBasic 6.00 Alpha 1 released !

Cool. 8) This is exciting news!
by Little John
Sat Apr 17, 2021 9:25 am
Forum: Announcement
Topic: Forums update
Replies: 124
Views: 33385

Re: Forums update

Cool. 8) Thank you, Fred!
by Little John
Sun Mar 28, 2021 6:49 pm
Forum: Tricks 'n' Tips
Topic: Module with functions for sets
Replies: 36
Views: 20649

Re: Module with functions for sets

New version 1.81, 2021-03-28

Fixed
  • Bug in function NextPartitionK() that could cause a crash
by Little John
Sat Mar 27, 2021 9:43 pm
Forum: Tricks 'n' Tips
Topic: Module with functions for sets
Replies: 36
Views: 20649

Re: Module with functions for sets

New version 1.80, 2021-03-27 Changed Changed order of parameters in functions FromString() , FromList() , FromArray() , FromArrayI() , PartitionFromString() , FromPartition() . When calling these functions from old code, you'll get an appropriate error message. I'm sorry for any inconveniences. Impr...
by Little John
Mon Mar 08, 2021 9:31 pm
Forum: Tricks 'n' Tips
Topic: Module with functions for sets
Replies: 36
Views: 20649

Re: Module with functions for sets

New version 1.78, 2021-03-08

Changed
  • Small internal changes
  • Added/changed some comments
New
  • Public function Product():
    generates the Cartesian product of two or or more sets
  • Demo program for calculating possible coalitions in a parliament
by Little John
Mon Feb 22, 2021 7:01 pm
Forum: Feature Requests and Wishlists
Topic: Allow underscore as separator for number literals
Replies: 36
Views: 6033

Re: Allow underscore as separator for number literals

Tenaja wrote:It was not, however, as unproductive than your presumptuous dig. Usually, you are a much more positive contributor than that.
Just because you don't understand what it's all about, doesn't mean that you are allowed to take that tone with me!
by Little John
Mon Feb 22, 2021 7:34 am
Forum: Feature Requests and Wishlists
Topic: Allow underscore as separator for number literals
Replies: 36
Views: 6033

Re: Allow underscore as separator for number literals

#NULL wrote:underscore please. I'm not waiting for it though.
Exactly the same for me.
by Little John
Mon Feb 22, 2021 6:24 am
Forum: Feature Requests and Wishlists
Topic: Allow underscore as separator for number literals
Replies: 36
Views: 6033

Re: Allow underscore as separator for number literals

Tenaja wrote:Comma would never work because it's a procedure parameter separator.
If you read the whole thread, then you'll see that there was not only discussed about commas. It's also not necessary to repeat that old descussion again now.
by Little John
Sun Feb 21, 2021 11:30 pm
Forum: Feature Requests and Wishlists
Topic: Allow underscore as separator for number literals
Replies: 36
Views: 6033

Re: Allow underscore as separator for number literals

Something like this has been requested already more than 7 years ago:
Commas in numbers
by Little John
Sun Feb 14, 2021 5:39 pm
Forum: Feature Requests and Wishlists
Topic: RenameMapElement()
Replies: 2
Views: 1657

RenameMapElement()

Hi, would it make sense to have a built-in function like the following? Macro RenameMapElement (_map_, _oldKey_, _newKey_) ; in: _map_: without trailing '()' If FindMapElement(_map_(), _newKey_) = #Null _map_(_newKey_) = _map_(_oldKey_) DeleteMapElement(_map_(), _oldKey_) EndIf EndMacro
by Little John
Sun Jan 10, 2021 9:46 pm
Forum: Tricks 'n' Tips
Topic: QR Code encoder library ported to PB
Replies: 22
Views: 4309

Re: QR Code generator library ported to PB

Very cool. 8)
Thank you, infratec!
by Little John
Thu Dec 17, 2020 5:45 am
Forum: Feature Requests and Wishlists
Topic: PrintN()
Replies: 4
Views: 932

Re: PrintN()

That can be made even simpler. :-)

Code: Select all

Macro PrintN (text="", Function=PrintN)
   Function(text)
EndMacro

If OpenConsole()
   PrintN("Hello")
   PrintN()
   PrintN("World")
   Input()
EndIf
by Little John
Sun Nov 22, 2020 8:33 pm
Forum: Tricks 'n' Tips
Topic: FTPS (windows needs additional files)
Replies: 17
Views: 2426

Re: FTPS (windows needs additional files)

Code: Select all

IncludeFile "libcurl.pbi"
And where can I get "libcurl.pbi"? :-)
by Little John
Sat Nov 21, 2020 10:32 am
Forum: Coding Questions
Topic: EditorGadget with thread not show cursor [Resolved]
Replies: 8
Views: 800

Re: EditorGadget with thread not show cursor [Resolved]

Kwai chang caine wrote:You have see.... i have not put this question in the bug section :mrgreen: :wink: :lol:
Image :lol:
by Little John
Sat Nov 21, 2020 9:46 am
Forum: Coding Questions
Topic: EditorGadget with thread not show cursor [Resolved]
Replies: 8
Views: 800

Re: EditorGadget with thread not show cursor [Resolved]

You are welcome!
And if you really want a thread to change something in the GUI, use PostEvent() in the thread for passing the repective information to the main code. And then the main code actually has to change the GUI.