Search found 563 matches

by ebs
Tue Jan 20, 2026 3:29 pm
Forum: Feature Requests and Wishlists
Topic: Evaluate Function For Math Library
Replies: 10
Views: 713

Re: Evaluate Function For Math Library

@idle,

Your expression evaluator is really useful - thank you for posting it.

I noticed that the "<-" (backspace?) key on the example calculator wasn't implemented, so I added these two lines to the end of "Select evg" statement: Case #BBack
strinput = Left(strinput, Len(strinput) - 1) ; ebs
by ebs
Fri Dec 05, 2025 3:14 pm
Forum: Tricks 'n' Tips
Topic: 2D water fluid
Replies: 8
Views: 1104

Re: 2D water fluid

@threeslider,

This is very cool - thanks for posting it!

I made some changes to simplify calculations in the drawing loop and eliminate the need for the
LeftDelta.f() and RightDelta.f() arrays.

Everything seems to work as expected, but let me know if there are any mistakes.

EnableExplicit ...
by ebs
Fri Oct 31, 2025 3:46 pm
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 769
Views: 346421

Re: IceDesign GUI designer

@Stenda - new user, only 2 posts, both shilling for a company, probably AI...

Can the moderator remove this???
by ebs
Wed Oct 29, 2025 2:43 pm
Forum: Off Topic
Topic: Free AI tools
Replies: 5
Views: 2876

Re: Free AI tools

All of the links except the second one are working.
by ebs
Thu Aug 28, 2025 2:36 pm
Forum: Feature Requests and Wishlists
Topic: The IIF function
Replies: 7
Views: 2679

Re: The IIF function

Only because I'm extremely lazy (apologies to AZJIO): Macro IIF(_expr, _truepart, _falsepart)
IIFX(Bool(_expr), _truepart, _falsepart)
EndMacro

Procedure.s IIFX(expr, truepart.s, falsepart.s)
If expr
ProcedureReturn truepart
Else
ProcedureReturn falsepart
EndIf
EndProcedure

Global result.s ...
by ebs
Fri Aug 22, 2025 5:06 pm
Forum: Tricks 'n' Tips
Topic: Numeric Password…
Replies: 11
Views: 1489

Re: Numeric Password…

Thanks for your fast reply.

I did try #EM_GETPASSWORDCHAR and guess what it returns? '*' :D

I did find a way to cheat by changing the font to Wingdings and using one of the black dot characters in that font, then switching back to the default font when showing the actual password characters. It ...
by ebs
Fri Aug 22, 2025 4:29 pm
Forum: Tricks 'n' Tips
Topic: Numeric Password…
Replies: 11
Views: 1489

Re: Numeric Password…

@Axolotl,

Thank you! Your tip about about #EM_SETPASSWORDCHAR is exactly what I need.

One question - do you know how I can do this in an ancient ASCII (not UNICODE) executable?
I would have thought that passing the correct value as wParam should be all that's required, but I can't get it to work ...
by ebs
Fri Aug 08, 2025 2:17 pm
Forum: Coding Questions
Topic: Sqlite problem with purebasic
Replies: 8
Views: 1043

Re: Sqlite problem with purebasic

I'm glad that miso's solution worked, but I don't think it's because of the semicolon at the end of the SQL statement.
I use SQLite extensively without the trailing semicolon and it works fine.

I think the reason miso's code worked is that he used double quotes (") around the SQL statement, which ...
by ebs
Thu Jul 31, 2025 2:11 pm
Forum: Tricks 'n' Tips
Topic: Custom types
Replies: 6
Views: 873

Re: Custom types

Thank you - this is really clever!

As you said, it doesn't enforce the use of the correct type, but it makes your code much more self-documenting.
It makes the C programmer in me very happy! :D
by ebs
Thu Jun 19, 2025 2:27 pm
Forum: Coding Questions
Topic: ExcelWriter.pb has stopped working
Replies: 6
Views: 1368

Re: ExcelWriter.pb has stopped working

Is it possible to open an existing excel file to continue writing in it using Excelwriter.pb?
No - it can only create a new Excel file and write to it. It doesn't have any code to open an existing file.
by ebs
Wed May 14, 2025 2:22 pm
Forum: Feature Requests and Wishlists
Topic: FindString to support whole words
Replies: 18
Views: 3306

Re: FindString to support whole words

Not official, but how about

Code: Select all

Debug FindString("text1$ text2$ text3$"," t2$") ; returns 0
by ebs
Fri Feb 28, 2025 7:08 pm
Forum: Tricks 'n' Tips
Topic: Sort ListIconGadget [Windows only]
Replies: 50
Views: 8489

Re: Sort ListIconGadget [Windows only]

Waiting anxiously... :D
by ebs
Fri Feb 28, 2025 3:37 pm
Forum: Tricks 'n' Tips
Topic: Sort ListIconGadget [Windows only]
Replies: 50
Views: 8489

Re: Sort ListIconGadget [Windows only]

Hi @Zapman,

Thanks for the code update and the arrow options. I noticed one problem:

When either of the "show arrows" options are selected, clicking on the same column header alternates between ascending and descending sort, as expected.

However, if "don't show arrows" is selected, the first ...
by ebs
Tue Feb 25, 2025 3:43 pm
Forum: Tricks 'n' Tips
Topic: Sort ListIconGadget [Windows only]
Replies: 50
Views: 8489

Re: Sort ListIconGadget [Windows only]

In the US, GetLocaleInfo_() returns "M/d/yyyy" on my PC.

When your code reformats that it yields "%m/%d/%yyyy" instead of "%mm/%dd/%yyyy", so the dates are not displayed correctly.
by ebs
Mon Feb 17, 2025 3:49 pm
Forum: Off Topic
Topic: Windows Search
Replies: 24
Views: 6270

Re: Windows Search

Cyllceaux wrote: Mon Feb 17, 2025 10:56 am How about www.baremetalsoft.com/baregrep ?

246KB :wink:
This (and the companion program BareTail) are AMAZING pieces of software!
Thank you for pointing them out.