Search found 83 matches

by FWExplorer
Wed Mar 03, 2021 4:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14192

Re: Documentation for variables - what form should it be?

"As Otto suggests, one can create a database to handle all of it." Yes, that's the type of approach that I'm leaning towards. Some of the older case tools like Dbsee accepted comments for all of the components in its repository, and one could auto-generate documentation from those. "I...
by FWExplorer
Tue Mar 02, 2021 11:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14192

Re: Documentation for variables - what form should it be?

Sounds good, Tim. But I'd want the notes, including a block for descriptions of each element, to be in a format that a program could easily extract. In other words, the purpose of the documentation isn't just readibility for human beings, but also a reference for automated processes that might analy...
by FWExplorer
Tue Mar 02, 2021 1:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14192

Re: Documentation for variables - what form should it be?

Oh, hi Tim, Yes, this is a possibility, as well. Sort of a Table of Contents of the program, or maybe more like an index. In earlier days, I put in an extended comment section at the top of each .prg file. In it I listed Functions, Commands, Classes, Methods, and Variables. I would define each one. ...
by FWExplorer
Sun Feb 28, 2021 9:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14192

Re: Documentation for variables - what form should it be?

Angel, Thanks but I'm not interested in cleaner code. That's a separate subject. I'm just trying to get some inspiration about some creative ways to document variables, specifically in Harbour/Fivewin. Also, I have absolutely no interest in Object Oriented Programming https://en.wikipedia.org/wiki/S...
by FWExplorer
Sun Feb 28, 2021 7:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 13819

Re: What's the best way to set individual bits, in a bit string

Yes, that's a nice sample to start with, thanks.
by FWExplorer
Sun Feb 28, 2021 6:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14192

Documentation for variables - what form should it be?

Hi, This is more of a brainstorming question, rather than anything technical. I'd like to stop using my variant of hungarian notation, because it doesn't really look presentable, and it doesn't fit in with standard modern practice. The way I write variables is like Account_Number_n Customer_Name_edt...
by FWExplorer
Sun Feb 28, 2021 6:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 13819

Re: What's the best way to set individual bits, in a bit string

Thanks nage, There's no function folder in samples. if you mean the .c code in the ..\samples and subfolders, yes that's helpful. But nobody - as far as I know - has put together any kind structured tutorial document with short samples and maybe exercises. All we have is reference documentation and ...
by FWExplorer
Sun Feb 28, 2021 3:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 13819

Re: What's the best way to set individual bits, in a bit string

Thanks, nages I badly want to understand the Harbour C api. There's certainly plenty of documentation in terms of reference material, and a few examples from the Clipper days and the Harbour implementation. But I'm so far from understanding it, and there's no clear path to being an expert. Months ba...
by FWExplorer
Sat Feb 27, 2021 3:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 13819

Re: What's the best way to set individual bits, in a bit string

Nages, Thanks, of course we can do it that way. Sorry, I left out that I was looking for a C alternative. I guess my real question is how to convert Joe Booth's Bit.c to Harbour: /******************************************************************************* * Program Id: bit.c *    Version: 1.00 *...
by FWExplorer
Fri Feb 26, 2021 8:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 13819

What's the best way to set individual bits, in a bit string

Hi,

Looking at Harbour SetBit(), it looks like it requires either a number of a hex string.

Is there an existing function that can take a binary string like "001110110", and set one of the 0 bits to 1?
by FWExplorer
Thu Feb 25, 2021 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Does BuildH.bat have a Console app option?
Replies: 2
Views: 9244

Re: Does BuildH.bat have a Console app option?

Ok, Thanks cnavarro.

cnavarro wrote:Use build.bat in folder samples of fw
by FWExplorer
Thu Feb 25, 2021 6:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Does BuildH.bat have a Console app option?
Replies: 2
Views: 9244

Does BuildH.bat have a Console app option?

Hi,

Is there something similar to an /C with buildh, that builds a console app?

I need to make use of simple

? Status_s

commands, without a message box.
by FWExplorer
Tue Feb 23, 2021 9:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Do we know when Fivewin's next version will be out?
Replies: 2
Views: 1760

Re: Do we know when Fivewin's next version will be out?

Oh, wow. Wasn't expecting that.

Ok, thanks N.
nageswaragunupudi wrote:1st week of March.
by FWExplorer
Tue Feb 23, 2021 7:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Do we know when Fivewin's next version will be out?
Replies: 2
Views: 1760

Do we know when Fivewin's next version will be out?

Will it be during this quarter, or the summer?