Version defined after first use error

Steven Schveighoffer schveiguy at yahoo.com
Thu Mar 12 05:57:53 PDT 2009


On Thu, 12 Mar 2009 07:19:29 -0400, Kagamin <spam at here.lot> wrote:

> version(Ansi) {
>     version = Ansi_ForReal;
> } else {
>     version = Unicode_ForReal;
> }
>

Don't need the ForReal:

version(Ansi) {
} else {
    version = Unicode;
}

-Steve


More information about the Digitalmars-d-learn mailing list