Search found 1901 matches

by coderJeff
May 18, 2019 16:31
Forum: Documentation
Topic: Wiki improvements
Replies: 290
Views: 21027

Re: Wiki improvements

fxm, OK I read your article now. I missed that when I posted here. Very nice. Yes, you have provided what I was hoping to see; introducing the usage before the explanation. Thanks.
by coderJeff
May 18, 2019 15:43
Forum: Documentation
Topic: Wiki improvements
Replies: 290
Views: 21027

Re: Wiki improvements

A next article coming soon (status 'in progress'): 18. How FB supports Sub-Type Polymorphism, demonstrated by Emulation very Close to Real Operating (article of 1 post) See Index page of tutorial / teaching / pedagogical topics (draft articles for documentation) Do you have particular requests arou...
by coderJeff
May 18, 2019 15:21
Forum: Community Discussion
Topic: New array features
Replies: 48
Views: 1664

Re: New array features

Not a bad idea to collect information and opinions; it can help give a direction for the overall goals. Ultimately, the one doing the work (and the ones helping to support the work) make the final choice. I do recommend a small change first to get started. The most concise and obvious pull requests ...
by coderJeff
May 12, 2019 22:33
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Re: Extending Wstring and Zstring with UDTs

JK, I am grateful for your understanding. Yes, I encourage you to keep working at it. You have shown yourself to be capable of building the fbc sources, understanding the code base to a fair degree, and the desire to contribute to the project. I am thankful. If I may be so bold, next step for you is...
by coderJeff
May 12, 2019 1:24
Forum: Community Discussion
Topic: How to do -g but without assertions?
Replies: 15
Views: 1738

Re: How to do -g but without assertions?

With these further variations in how FBC could be built, should the -version switch be modified to reflect the switches and parameters used to build this particular version? maybe a verbose version of version? like '-version -v'? I'd like to see the actual repository commit ID part of the version i...
by coderJeff
May 11, 2019 23:46
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Re: Extending Wstring and Zstring with UDTs

I think freebasic as a compiler should provide robust basic bricks , today dynamic wstring should be one of these bricks. it was what i was promoting 3 years ago, happy to see your implication on that subject. Bricks are good. It's a good place to start. It's disappointing though to look through th...
by coderJeff
May 11, 2019 23:29
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Re: Extending Wstring and Zstring with UDTs

i did it the same way, step by step, working through the code for each statement, which needed to be changed. In the end it sums up to what you have right now as a pull request. That may be so, but it would be easier for both of us had the changes been made in incremental steps. Some of the changes...
by coderJeff
May 09, 2019 10:56
Forum: Documentation
Topic: Wiki improvements
Replies: 290
Views: 21027

Re: Wiki improvements

Oops, I missed a step. %% tags with the html escaping only work for chm. I think I'd like to get rid of the html escaping and look at improving the fbdoc (wiki-> chm converter). Even though fbdoc doesn't know unicode, the wiki's UTF8 should be preserved through most of the string manipulations. Prob...
by coderJeff
May 08, 2019 22:58
Forum: Documentation
Topic: Wiki improvements
Replies: 290
Views: 21027

Re: Wiki improvements

The fb wiki to chm converter doesn't handle unicode; escaping the characters using html is a work around. I'm not sure what the reason for the column tags are, maybe that's an older work around. %% ... %% code tags should format correctly in wiki and chm. I think this should be used instead of the c...
by coderJeff
May 05, 2019 18:26
Forum: Beginners
Topic: Automatic conversion WSTRING to (Z)STRING
Replies: 10
Views: 277

Re: Automatic conversion WSTRING to (Z)STRING

Just be mindful where the conversion is occurring. On windows, I have observed, that an editor might display UTF-8 strings with the characters (glyphs) you expect but the actual bytes in the file are really just ASCII chars >= 128. When fbc reads the source code, the translation of literals depends ...
by coderJeff
May 04, 2019 15:37
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Re: Extending Wstring and Zstring with UDTs

Thanks marpon. I noticed that your uStringW class has handling for surrogates. And as far as I can tell fb rtlib mostly does not. There are some cases where it won't matter that fb-rtlib is only looking at the code units (e.g. 16-bit values on windows) rather than the whole code point (e.g. possibly...
by coderJeff
May 04, 2019 5:22
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Re: Extending Wstring and Zstring with UDTs

True, I do want the code changed before it gets added. I have an idea of what I want to see for code paths, symbol naming, style, etc; basically, what I think will make the code easiest to follow and understand for the next developer (which very well might be future coderJeff!). There are 2 big conc...
by coderJeff
May 02, 2019 22:16
Forum: Community Discussion
Topic: How to do -g but without assertions?
Replies: 15
Views: 1738

Re: How to do -g but without assertions?

dkl, saw your link to here from https://github.com/freebasic/fbc/issues/140 If we allow breaking some backward compatabilty, maybe this can work: '-e...' options for error checking code generation '-g' for debug symbol generation '-debug' for "debug mode" (really on...
by coderJeff
Apr 28, 2019 23:26
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 13
Views: 742

Extending Wstring and Zstring with UDTs

Recently I've been working on adding this new syntax to fbc compiler: type T extends wstring '' or zstring '' data & overload declarations end type The intent is to create a UDT that has good interoperability with fbc's string types, most specifically WSTRING. We are probably still a ways off fr...
by coderJeff
Apr 28, 2019 19:51
Forum: Community Discussion
Topic: A list of my FreeBASIC activities of the past 10 years.
Replies: 16
Views: 3378

Re: A list of my FreeBASIC activities of the past 10 years.

Joshy, thanks for the links to all your efforts. Your contribution to our community is remarkable.

Go to advanced search