Search found 11 matches
- Sat Dec 07, 2024 5:58 pm
- Forum: Feature Requests and Wishlists
- Topic: Allow Enter key to action gadgets
- Replies: 19
- Views: 5921
Re: Allow Enter key to action gadgets
Blind here, and I can confirm pressing enter to activate buttons is a standard for us, unlike sighted people, we use enter for everything that has an activation, we're not talking blind as has low sight, we're talking as in, totally blind, 0 sight or close to it, we use a technology called screen ...
- Fri Nov 15, 2024 11:40 am
- Forum: Coding Questions
- Topic: Circular include best ways to avoid?
- Replies: 4
- Views: 652
Re: Circular include best ways to avoid?
ah I see, certainly interesting. Most of my time I used C# which doesn't care about where something is defined so this is going to be an interesting experience to learn. I just hope no one get annoyed at me because I ask a lot of questions 

- Fri Nov 15, 2024 3:36 am
- Forum: Coding Questions
- Topic: copying a structure to a variable with a type that was extended from?
- Replies: 7
- Views: 1086
Re: copying a structure to a variable with a type that was extended from?
You can use CopyStructure()
Strictly speaking: CopyStructure(test, thing, Zift)
No, with CopyStructure the variables must have the same structure. Otherwise there will be an error or crash.
So assign the values individually here. See PB Help
I'm... Confused a bit here, check the pb help ...
- Thu Nov 14, 2024 11:02 pm
- Forum: Coding Questions
- Topic: Circular include best ways to avoid?
- Replies: 4
- Views: 652
Circular include best ways to avoid?
so I have file a.pbi, it contains a structure that uses something from b.pbi as a list, then I have procedures that take pointers of a in b.pbi, as well as a prototype function. As you would have figured, I ran into a include sircular loop, if I use XIncludeFile, well, it will loop, and if I include ...
- Thu Nov 14, 2024 7:45 pm
- Forum: Coding Questions
- Topic: copying a structure to a variable with a type that was extended from?
- Replies: 7
- Views: 1086
Re: copying a structure to a variable with a type that was extended from?
sorry for double posting, but if you think this will annoy people because it sounds like an oop question/ it' not currently possible and will never be, then please do suggest some different ideas. I'm primarily going to do this kind of stuff for games so I am open for different ideas, I'm just not ...
- Thu Nov 14, 2024 6:34 pm
- Forum: Coding Questions
- Topic: copying a structure to a variable with a type that was extended from?
- Replies: 7
- Views: 1086
copying a structure to a variable with a type that was extended from?
hi
so I just realized pb has extending, which is nice, however I wonder, is it possible to have something like
Structure State
Name$
Update.i
Enter.i
Exit.i
OnFocus.i
OnUnfocus.i
OnEscape.i
EndStructure
Structure Zift Extends State
Meow$
EndStructure
Procedure Testing()
thing.State ...
so I just realized pb has extending, which is nice, however I wonder, is it possible to have something like
Structure State
Name$
Update.i
Enter.i
Exit.i
OnFocus.i
OnUnfocus.i
OnEscape.i
EndStructure
Structure Zift Extends State
Meow$
EndStructure
Procedure Testing()
thing.State ...
- Thu Nov 14, 2024 5:18 pm
- Forum: Coding Questions
- Topic: confusion about memory allocation with structures and dynamic elements
- Replies: 5
- Views: 955
Re: confusion about memory allocation with structures and dynamic elements
interesting, thanks
does this apply to strings? Or are strings a different story? I mean a string in a structure, example
structure MyStruct
Name$
Age.i
EndStructure
one idea is to just use AllocateStructure all the time anyway regardless to avoid mistakes, however, I have no idea if that will ...
does this apply to strings? Or are strings a different story? I mean a string in a structure, example
structure MyStruct
Name$
Age.i
EndStructure
one idea is to just use AllocateStructure all the time anyway regardless to avoid mistakes, however, I have no idea if that will ...
- Thu Nov 14, 2024 3:13 pm
- Forum: Coding Questions
- Topic: confusion about memory allocation with structures and dynamic elements
- Replies: 5
- Views: 955
confusion about memory allocation with structures and dynamic elements
hello
I am a newbie in pure basic, and well, a newbie in low leveled programming, which involves memory management, there's one confusion I'm having when I have a structure that contains a dynamic field, such as a string, or a list/map/etc,my question is, do I just use
*MyPtr = allocateMemory ...
I am a newbie in pure basic, and well, a newbie in low leveled programming, which involves memory management, there's one confusion I'm having when I have a structure that contains a dynamic field, such as a string, or a list/map/etc,my question is, do I just use
*MyPtr = allocateMemory ...
- Thu Nov 14, 2024 11:52 am
- Forum: General Discussion
- Topic: solved: a problem with pure basic online account
- Replies: 4
- Views: 1015
Re: a problem with pure basic online account
ok, thanks, I got your email and stuff work now.
out of curiosity, what was the issue? Was it on my end or icloud just did something weird?
out of curiosity, what was the issue? Was it on my end or icloud just did something weird?
- Wed Nov 13, 2024 12:06 pm
- Forum: General Discussion
- Topic: solved: a problem with pure basic online account
- Replies: 4
- Views: 1015
Re: a problem with pure basic online account
if you require any verification/etc because my account cannot be reached/etc. I do have older mails from the registration date, and I might still have the paypal mail too, it was from 2021 though so not sure how helpful that could be. But if any private info exchange needs to be done, private ...
- Tue Nov 12, 2024 5:27 pm
- Forum: General Discussion
- Topic: solved: a problem with pure basic online account
- Replies: 4
- Views: 1015
solved: a problem with pure basic online account
hello
I apologize if this is the wrong place to post this question, but I am not sure which section this fits into
recently, I've been trying to reset the password to my pure basic account so I could download pure basic on my device, however, no matter how many times I clicked on the reset button ...
I apologize if this is the wrong place to post this question, but I am not sure which section this fits into
recently, I've been trying to reset the password to my pure basic account so I could download pure basic on my device, however, no matter how many times I clicked on the reset button ...