Search found 272 matches

by Juergen Kuehlwein
Sep 29, 2019 15:30
Forum: Community Discussion
Topic: Unicode file names
Replies: 7
Views: 839

Re: Unicode file names

Currently FB converts wide string to ANSI for all file/path related functions. That is, you can only use wide strings representing ANSI strings, "real" unicode strings (e.g Russian characters) fail. I replaced all ANSI entry points with wide string entry points in Windows. The conversion i...
by Juergen Kuehlwein
Sep 21, 2019 16:12
Forum: Community Discussion
Topic: Unicode file names
Replies: 7
Views: 839

Re: Unicode file names

Jeff, i need your help. Please read the comments for PR #178 and #180. Supplying only wide string versions in the RTL for Windows would make things easier, but it would break direct compatibility for Win 95, 98 and ME. Executables for these OSs can still run, but would need changes then. How should ...
by Juergen Kuehlwein
Sep 11, 2019 20:10
Forum: Community Discussion
Topic: Unicode file names
Replies: 7
Views: 839

Re: Unicode file names

Thanks for the clarification! If i interpret this correctly, this means, that in Linux i already can have a file name with e.g. Russian characters ("йцуке.ячс"). So for Linux no change in the compiler is required - is this correct? In other words, the Unicode file name problem only exists ...
by Juergen Kuehlwein
Sep 11, 2019 19:05
Forum: Community Discussion
Topic: Unicode file names
Replies: 7
Views: 839

Unicode file names

There is a PR for the new array features and a PR for USTRING as a default dynamic wide string type based on the recent EXTENDS WSTRING development - time for a next step: (dynamic) Unicode strings in file handling functions. Currently you can pass a WSTRING to e.g OPEN and the file will be opened, ...
by Juergen Kuehlwein
Sep 07, 2019 13:27
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31647

Re: New array features

For all interested in testing the new fork is here. PR # 173 is ready for review.


JK
by Juergen Kuehlwein
Sep 05, 2019 16:01
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

@Jeff i need a name for my include file, a logical name would be "array.bi". But then there already is "array.bi" in \fbc-int. Two files with the same name in different directories - not a very good idea i think, this is bound to lead to confusion. So either your "array.bi&q...
by Juergen Kuehlwein
Sep 02, 2019 16:50
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31647

Re: New array features

I will delete this fork of fbc, so the link provided in previous posts will no longer be valid.

Forked from the latest fbc version i will rebuild, what i have, separated in smaller commits for preparing a PR.


JK
by Juergen Kuehlwein
Sep 02, 2019 16:33
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

@Jeff, thanks for pushing thing forward! Sorry, I just haven't had time to go in to it deeper. I like that you attack problems head on to arrive at a solution, and I understand what you are going for as an end result. My initial reaction to the fbc code changes is that I'd like to look a little deep...
by Juergen Kuehlwein
Sep 01, 2019 10:22
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

@Jeff, thanks, i will wait for the merge and i will try to break it into digestable commits. BTW did you notice my reply to your comments on #158 ? Having a solution for this problem is not a requirement, but it would make my additions more complete. @MrSwiss There will be a method of detecting dyna...
by Juergen Kuehlwein
Aug 31, 2019 16:05
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

@Jeff,

should i start preparing a pull request for my array features with what we have now, or should i wait for you to merge #169 ?


JK
by Juergen Kuehlwein
Aug 25, 2019 21:39
Forum: Documentation
Topic: TYPEOF() changes, or something new?
Replies: 5
Views: 2776

Re: TYPEOF() changes, or something new?

I made TYPEOF() work in regular code too in my array additions. It returns the the name of a variable´s type as an uppercase string for all variables (not only arrays). This may seem not to be the most elegant solution, but it allows to distinguish between different UDTs, because the name as given i...
by Juergen Kuehlwein
Aug 24, 2019 22:05
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

Do whatever is necessary to push things forward. One thought about presenting the array descriptor: - If you choose to make the array descriptor available by reference (return a pointer to the array descriptor), then this includes the possibility to modify the descriptor members by the user. I think...
by Juergen Kuehlwein
Aug 23, 2019 16:12
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

You could even make it one single (2 bit) flag, because the "states" are mutual exclusive: 0 = dynamic 1 = fixed dimensions, variable number of elements 2 = fixed size, fixed number of elements 3 = attached (only possible for former dynamic, so an attached array, which is reset, must becom...
by Juergen Kuehlwein
Aug 23, 2019 14:25
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

Or treat this kind of hybrid declaration (fixed number of dimensions, but variable number of elements) as a third variation of arrays (fix-len, var-len, fix-dim (?)) and reserve a flag bit for it.


JK
by Juergen Kuehlwein
Aug 23, 2019 13:17
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 24221

Re: Array Descriptor (split from Wiki Improvements)

@Jeff,

we cross posted.
What do you think about resetting dimensions too, after ERASE?

exactly what i mean. You don´t even need "ERASE" beforehand, "REDIM" (with an implicit ERASE, if the array is already dimmed) would do (for dynamic or "var-len" arrays).


JK

Go to advanced search