Search found 684 matches

by Inner
Sun Feb 04, 2024 5:28 pm
Forum: Assembly and C Programming in PureBasic
Topic: Pseudotypes Relation to C Types
Replies: 3
Views: 438

Re: Pseudotypes Relation to C Types

They are used to automatically convert a PB unicode string to the required string format. It is not a new type of variable. But you are the expert I'm only always here :wink: :o :lol: :lol: :lol: I seriously wouldn't put any stock in that title at all, and I'd hardly call myself an expert, town dun...
by Inner
Sat Feb 03, 2024 4:28 am
Forum: Assembly and C Programming in PureBasic
Topic: Pseudotypes Relation to C Types
Replies: 3
Views: 438

Pseudotypes Relation to C Types

How do these Pseudo Types relate to their C Types?

p-ascii,p-utf8,p-bstr,p-unicode,p-variant

Or am I missing the point?
by Inner
Fri Feb 02, 2024 3:15 pm
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Re: Struct explanation request

System languages needed pointers to be efficient. Even Fortran added pointers later. Basic had clunky varptr() and addressof(). Yes, C++ became a bloated mess with technical debt and over a 1000 pages of definitions. But, you can still choose to code C++ with a C approach and do very well. All true...
by Inner
Thu Feb 01, 2024 5:20 pm
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Re: Struct explanation request

Very interesting discussion for me as I'm really a beginner coder in C. As useful as the language is/was has been it's a pig of language, ridiculously overtyped and casted wrapped up in a ball of utterly useless functionality that only aids the 'nerd' get his thing on to bamboozle the rest of the '...
by Inner
Tue Jan 30, 2024 5:13 pm
Forum: Announcement
Topic: PB language support for Visual Studio Code
Replies: 45
Views: 27785

Re: PB language support for Visual Studio Code

First sorry for nercoing an old thread.. It's really a shame that the project is at a standstill. I saw that there was a Github on the project and I tried to understand how it worked to try to improve it, but in fact I understand nothing... :( :) You're not really missing much to be honest, the proc...
by Inner
Sun Jan 28, 2024 1:36 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 293
Views: 36627

Re: PureBasic 6.10 beta 4 is out !

okay, what's life with out sense of humor..

What's #PB_Preference_NoBOM a Pure Basic Anti-Terrorism Flag?
by Inner
Tue Jan 23, 2024 4:43 pm
Forum: Announcement
Topic: PB-CTypeTable
Replies: 10
Views: 2165

Re: PB-CTypeTable

I don't know anything about the C language, so this should be a great help for getting started and going further. It looks like a big and nice piece of work, I'll be following you closely :) It's a nightmare, others including myself have tried through many private iterations and attempts to find a ...
by Inner
Tue Jan 23, 2024 5:03 am
Forum: Announcement
Topic: PB-CTypeTable
Replies: 10
Views: 2165

Re: PB-CTypeTable

Add a video of the current state of the project, it's just easier/quicker at the moment.
by Inner
Sat Jan 20, 2024 1:03 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 293
Views: 36627

Re: PureBasic 6.10 beta 3 is out !

miniaudio supports mp3. But in the PB version, this is disabled (probably the static library is compiled with the MA_NO_MP3 flag). :? It would be great to add MP3 support to PB. :) Big +1 on this one. Mp3 would be amazing. Don't you need to pay some sort of license for mp3? from google I got 2 opin...
by Inner
Mon Jan 15, 2024 11:31 pm
Forum: Announcement
Topic: PB-CTypeTable
Replies: 10
Views: 2165

Re: PB-CTypeTable

@Inner Don't know if you care or not, but on the github page you have two occurrences of the word "veriable". Maybe you want to correct them to "variable" :D :arrow: Dyslexia for the W .. I swear last night I was looking at the alphabet because I forgot it's order (hadn't slept ...
by Inner
Mon Jan 15, 2024 9:12 am
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Re: Struct explanation request

Very interesting discussion for me as I'm really a beginner coder in C. As useful as the language is/was has been it's a pig of language, ridiculously overtyped and casted wrapped up in a ball of utterly useless functionality that only aids the 'nerd' get his thing on to bamboozle the rest of the '...
by Inner
Sun Jan 14, 2024 10:24 pm
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Re: Struct explanation request

something like this: Prototype.i Prototype_reg(zz_vfs_dri_t.i) Prototype.i Prototype_unreg(zz_vfs_dri_t.i) Prototype.u Prototype_ismine(*char) Prototype.i Prototype_new(*char, *va_list) Prototype Prototype_del(zz_vfs_t.i) Prototype.i Prototype_uri(zz_vfs_t.i) Prototype.i Prototype_open(zz_vfs_t.i) ...
by Inner
Sun Jan 14, 2024 6:47 pm
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Re: Struct explanation request

Function Pointer in C int (*init_fs_context)(struct fs_context *); I'm guessing I can just ignore the casting then and just translate it to the appropriate type, as what I am reading from your links really doesn't make things much clearer, 'probably' because I'd never do something so asinine in the...
by Inner
Sun Jan 14, 2024 2:41 pm
Forum: Assembly and C Programming in PureBasic
Topic: Struct explanation request
Replies: 10
Views: 1470

Struct explanation request

struct zz_vfs_dri_s { const char * name; /**< friendly name. */ zz_err_t (*reg)(zz_vfs_dri_t); /**< register driver. */ zz_err_t (*unreg)(zz_vfs_dri_t); /**< un-register driver. */ zz_u16_t (*ismine)(const char *); /**< is mine. */ zz_vfs_t (*new)(const char *, va_list); /**< create VFS. */ void (*...
by Inner
Wed Jan 10, 2024 10:34 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 293
Views: 36627

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

The change means you can now build a library with vs 22 and link to it statically. You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers It's not easy as you know. lol @ technicolor tutu, guess we need t...