Search found 230 matches

by Psych
Mon Nov 25, 2024 6:23 am
Forum: Feature Requests and Wishlists
Topic: CheckBox doesn't support #PB_EventType_Change
Replies: 29
Views: 8124

Re: CheckBox doesn't support #PB_EventType_Change

Checkboxes, as far as I am aware, just fire as a GadgetEvent, EventGadget() tells you the checkbox, and the event is ALWAYS a change of state (and even if by some weird situation it isn't, what harm would that do?)

So just check for that.
by Psych
Mon Nov 25, 2024 6:15 am
Forum: Feature Requests and Wishlists
Topic: HTTPRequest() continue using the connection
Replies: 6
Views: 2759

Re: HTTPRequest() continue using the connection


:wink:

I know how to do it. Trust me.

As written: it was not possible with PB, since the server changed the token cause of the complete new TCP connection.
And also as written: I was able to do it with my libcurl low level procedures.


This makes no sense to me, all HTTP requests are ...
by Psych
Mon Nov 25, 2024 6:03 am
Forum: Feature Requests and Wishlists
Topic: Git Integration
Replies: 9
Views: 2863

Re: Git Integration

Fred wrote: Mon Nov 18, 2024 11:52 am Git integration is out of scope for the IDE, but on Windows you can easily use TortoiseGit which integrate in the explorer. So you can use it from the OpenFile() dialog for example, without leaving the IDE.
This being the case, would you consider some sort of Visual Studio integration?
by Psych
Mon Nov 25, 2024 5:52 am
Forum: Feature Requests and Wishlists
Topic: Nested structure
Replies: 2
Views: 2005

Nested structure

In C you are able to declare a structure union with intelligently defined widths, making byte alignment automatic, however I found no easy way to achieve this in PB unless I define the word pairs in their own named structure

Could we have this?


Structure WordPair
StructureUnion
Structure ...
by Psych
Sat Nov 16, 2024 6:26 am
Forum: Feature Requests and Wishlists
Topic: Git Integration
Replies: 9
Views: 2863

Git Integration

Would be nice to have some sort of GIT functionality in the IDE, even its just basic stuff, since this is now the standard for group collaborative projects.

For example, to open a git repo, branch and commit, etc etc.
by Psych
Tue Oct 22, 2024 6:35 pm
Forum: Feature Requests and Wishlists
Topic: ListID(list())
Replies: 4
Views: 1283

Re: ListID(list())


Got the number

I was sure there was a way to do this, given lists have cached values, I was just hoping there would be a way to have this added natively, and ListID() would fit nicely with existing keywords.
By the looks of it, not much extra coding required.
Could also add a MapID() if possible ...
by Psych
Tue Oct 22, 2024 3:42 am
Forum: Feature Requests and Wishlists
Topic: ListID(list())
Replies: 4
Views: 1283

ListID(list())

It would be useful to know if a certain list (passed in a parameter for example) is the same as another list.

Right now the only solution (as far as I know) is to wrap the list in a structure and use the pointer to that structure variable (thanks to @Idle for this tip).

I am sure the list size is ...
by Psych
Tue Oct 22, 2024 2:26 am
Forum: Coding Questions
Topic: Absolute reference to List() defining structure
Replies: 9
Views: 1802

Re: Absolute reference to List() defining structure


I think you need to use it via a structure which mightn't be ideal


Structure mlist
List l.i()
EndStructure




Genius, I hadn't thought about wrapping the lists. This makes a lot more sense, at least in the short term.

Its a shame we don't have ListID(list()) to give us that unique ...
by Psych
Tue Oct 22, 2024 1:43 am
Forum: Coding Questions
Topic: Absolute reference to List() defining structure
Replies: 9
Views: 1802

Absolute reference to List() defining structure

Hi guys, just a quick question.

If I have a procedure, like this:


Procedure IsSameList(list1(),list2())
ProcedureReturn Bool(list1()=list2())
EndProcedure


I will get an error if either list is empty, is there any bulletproof way to get a list reference regardless of whether the list is empty ...
by Psych
Mon Sep 02, 2024 3:58 pm
Forum: Off Topic
Topic: Account deleted
Replies: 5
Views: 2462

Re: Account deleted


We never delete an account, I have reset your password for you and mailed it.


Thanks, the only reason I said it's been deleted was because I tried a password reset myself and the system told me no account exists.

In any case, it's all sorted now, thank you for being so prompt (especially on a ...
by Psych
Sun Sep 01, 2024 5:25 pm
Forum: Off Topic
Topic: Account deleted
Replies: 5
Views: 2462

Account deleted

Just tried logging into the website to download purebasic and it's telling me that my account does not exist.

How is that possible? I can understand my account being locked or needing a password update, but to remove it altogether?

I have emailed the support email on the webpage.

As you can see ...
by Psych
Thu Aug 25, 2016 1:49 am
Forum: Coding Questions
Topic: No Ascii?
Replies: 29
Views: 9580

Re: No Ascii?

I understand your disappointment, but just because the option was once there does not mean we can afford to keep it forever.

Thank you, freak, I never expected this decision to be reversed, I just wanted to air my views on the matter.

As Darwin observed, animals evolve and adapt when their ...
by Psych
Wed Aug 24, 2016 11:05 pm
Forum: Coding Questions
Topic: No Ascii?
Replies: 29
Views: 9580

Re: No Ascii?

Why you feel the need to argue and belittle other peoples opinions is beyond me, maybe it's just the mob mentality, I shouldn't have expected any better.

All I did was state my opinion, but now I am stupid. Fine. A win for you.
by Psych
Wed Aug 24, 2016 8:12 pm
Forum: Coding Questions
Topic: No Ascii?
Replies: 29
Views: 9580

Re: No Ascii?

i think you are confusing something here.
I don't really think I am. Even after reading various comments, I still believe I should have the choice to write an application in ascii.
the reason why ascii support was dropped, is the same reason why microsoft dropped 16bit support.
I think the two ...
by Psych
Wed Aug 24, 2016 6:51 pm
Forum: Coding Questions
Topic: No Ascii?
Replies: 29
Views: 9580

Re: No Ascii?

What about the web browser you are using to read this forum, php and sql on the server, the entire MS Office suite ?
Unicode is so important these days.
From this forum page's own metadata.
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
I am sure if I examined the headers ...