On Sunday, 28 February 2021 at 07:05:27 UTC, Jack wrote:
I'm using a windows callback function where the user-defined
value is passed thought a LPARAM argument type. I'd like to
pass my D array then access it from that callback function. How
is the casting from LPARAM to my type array done in t
I'm using a windows callback function where the user-defined
value is passed thought a LPARAM argument type. I'd like to pass
my D array then access it from that callback function. How is the
casting from LPARAM to my type array done in that case?
for example, I need something like this to wor
On Saturday, 27 February 2021 at 19:12:55 UTC, Steven
Schveighoffer wrote:
Yes, if you assign a boolean value to it directly, then if
true, the attribute is included, if not, it's not.
e.g.:
tag(attribute=booleanVariable)
Note the lack of quotes.
Thank you very much for this.
If you use
On 2/27/21 12:48 PM, JG wrote:
Hi,
I know that one can do the following:
tag(attribute='#{dexpression}')
But, is there a way to deal with attributes that don't get assigned values.
That is, is there a way to produce
or
depending on a boolean variable?
Of course one can do:
- if (booleanVaria
Hi,
I know that one can do the following:
tag(attribute='#{dexpression}')
But, is there a way to deal with attributes that don't get
assigned values.
That is, is there a way to produce
or
depending on a boolean variable?
Of course one can do:
- if (booleanVariable)
tag(attribute)
include