How to embed data within an executable?

Dicebot public at dicebot.lv
Sun Feb 2 11:57:10 PST 2014


On Sunday, 2 February 2014 at 17:45:37 UTC, Gary Willoughby wrote:
> 	enum embed = getData();
> }

I am pretty sure you want immutable variable here, not enum. 
Latter is placement constant.


More information about the Digitalmars-d-learn mailing list