Re: What is the point of a synchronized lock on a single return statement?

2019-11-25 Thread Robert Schadek via Digitalmars-d-learn
But be aware, even though the bool is returned from a synchronized block, its actual value has no meaning at all. All the meaning you get out of that bool is that the MessageBox was closed when you called that function. If there is a function in MessageBox that can reopen the instance, you

Re: Building phobos documentation

2014-06-06 Thread Robert Schadek via Digitalmars-d-learn
On 06/06/2014 12:22 PM, Damian Day via Digitalmars-d-learn wrote: I'm having some trouble with building Phobos documentation locally on Win32. I've been referring to this guide: http://wiki.dlang.org/Building_DMD#Building_the_Docs I don't want to pull it from github and I don't really need

DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
Is there a function in phobos that lets me do something like DateTime.format(MM:DD: ) with a DateTime instance?

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 17:07:02 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Is there a function in phobos that lets me do something like DateTime.format(MM:DD:

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
On 06/03/2014 08:22 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 19:39:14 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 17:07:02

Re: Recommendation on option parsing

2014-05-14 Thread Robert Schadek via Digitalmars-d-learn
On 05/14/2014 06:15 AM, Jesse Phillips via Digitalmars-d-learn wrote: On Tuesday, 13 May 2014 at 17:05:15 UTC, Chris Piker wrote: I tried that, but you're using private members of std.getopt (which of course is okay for the way you intended the code to be used) so I stopped pursuing this

Re: Recommendation on option parsing

2014-05-13 Thread Robert Schadek via Digitalmars-d-learn
On 05/13/2014 05:40 AM, Chris Piker via Digitalmars-d-learn wrote: On Monday, 12 May 2014 at 23:11:57 UTC, Robert Schadek via Digitalmars-d-learn wrote: Okay, I replaced the std.getopt that came with dmd with your version. My code compiles, but of course it doesn't link against the old

Re: Recommendation on option parsing

2014-05-12 Thread Robert Schadek via Digitalmars-d-learn
On 05/12/2014 10:44 PM, Chris Piker via Digitalmars-d-learn wrote: On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via Digitalmars-d-learn wrote: On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin

Re: Recommendation on option parsing

2014-05-10 Thread Robert Schadek via Digitalmars-d-learn
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around

Re: SQLite3

2014-05-07 Thread Robert Schadek via Digitalmars-d-learn
On 05/07/2014 08:21 AM, Jack via Digitalmars-d-learn wrote: First off a Disclaimer: I'm a noob and still learning. Please don't bash me like some forums. Now to the questions: I'm searching for a quick and easy way to integrate SQLite3 in my application. I came across the etc.c.sqlite3 and