How add "version.txt" Version File by Command Line or by resources.res using dmd.exe

2019-12-08 Thread Marcone via Digitalmars-d-learn
I want to add version to my program. I have configurated my version file "version.txt", but I dont know how link this file to my program. If Need spec file, please send the exemple code of spec. Or is is possible add version file by dmd command line or resources. Thank you.

Re: How add "version.txt" Version File by Command Line or by resources.res using dmd.exe

2019-12-08 Thread Marcone via Digitalmars-d-learn
On Sunday, 8 December 2019 at 20:56:05 UTC, mipri wrote: On Sunday, 8 December 2019 at 20:50:05 UTC, Marcone wrote: I want to add version to my program. I have configurated my version file "version.txt", but I dont know how link this file to my program. If Need spec file, please send the

Re: How add "version.txt" Version File by Command Line or by resources.res using dmd.exe

2019-12-08 Thread GoaLitiuM via Digitalmars-d-learn
On Sunday, 8 December 2019 at 20:50:05 UTC, Marcone wrote: I want to add version to my program. I have configurated my version file "version.txt", but I dont know how link this file to my program. If Need spec file, please send the exemple code of spec. Or is is possible add version file by

How Use/Load/Recovery Files in resource.res files?

2019-12-08 Thread Marcone via Digitalmars-d-learn
I have added files inside resource.res. The icon.ico is automated used for exe program icon. But I don't know how use others files inside resource res. How Use/Load/Recovery Files in resource.res files?

Re: How add "version.txt" Version File by Command Line or by resources.res using dmd.exe

2019-12-08 Thread mipri via Digitalmars-d-learn
On Sunday, 8 December 2019 at 20:50:05 UTC, Marcone wrote: I want to add version to my program. I have configurated my version file "version.txt", but I dont know how link this file to my program. If Need spec file, please send the exemple code of spec. Or is is possible add version file by

Are there any DUB packages for displaying an ascii table?

2019-12-08 Thread Soulsbane via Digitalmars-d-learn
Been playing with Golang lately and it has quite a few modules for terminal tables. For example this one: github.com/brettski/go-termtables. Is there a D equivalent package? Can't seem to find any via search(which by the ways seems to give bad results or I just can't find the right word to

Re: Are there any DUB packages for displaying an ascii table?

2019-12-08 Thread Soulsbane via Digitalmars-d-learn
On Sunday, 8 December 2019 at 08:12:49 UTC, mipri wrote: On Sunday, 8 December 2019 at 08:01:32 UTC, Soulsbane wrote: Been playing with Golang lately and it has quite a few modules for terminal tables. For example this one: github.com/brettski/go-termtables. Is there a D equivalent package?

Re: Are there any DUB packages for displaying an ascii table?

2019-12-08 Thread mipri via Digitalmars-d-learn
On Sunday, 8 December 2019 at 08:01:32 UTC, Soulsbane wrote: Been playing with Golang lately and it has quite a few modules for terminal tables. For example this one: github.com/brettski/go-termtables. Is there a D equivalent package? Can't seem to find any via search(which by the ways seems

needing to change the order of things at module level = compiler bug, right?

2019-12-08 Thread DanielG via Digitalmars-d-learn
I dustmite'd down my problem code, and it seems just changing the order of declarations makes the error go away. Specifically, moving a class declaration from the bottom of the file, to the top, allows it to compile. I also commented on two other things that can be changed to make it work -

Re: GC.collect inflating memory usage?

2019-12-08 Thread Rainer Schuetze via Digitalmars-d-learn
On 07/12/2019 21:05, Rainer Schuetze wrote: > > On 07/12/2019 12:20, cc wrote: >> Given the following program: > [...] >> >> Using DMD32 D Compiler v2.089.0-dirty >> > > Seems like a bug introduced in dmd 2.086, I've created a bugzilla issue: > https://issues.dlang.org/show_bug.cgi?id=20438 >

Re: needing to change the order of things at module level = compiler bug, right?

2019-12-08 Thread Steven Schveighoffer via Digitalmars-d-learn
On 12/8/19 11:43 AM, DanielG wrote: I dustmite'd down my problem code, and it seems just changing the order of declarations makes the error go away. Specifically, moving a class declaration from the bottom of the file, to the top, allows it to compile. I also commented on two other things that

Re: needing to change the order of things at module level = compiler bug, right?

2019-12-08 Thread DanielG via Digitalmars-d-learn
On Sunday, 8 December 2019 at 18:01:03 UTC, Steven Schveighoffer wrote: Yes, if it can compile when you move things around, and the result is *correct* (very important characteristic) Indeed, everything's working as intended when rearranged. Thanks!