Scriptlike v0.8.0

via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Jun 22 02:08:44 PDT 2015


On Sunday, 14 June 2015 at 01:28:18 UTC, Nick Sabalausky wrote:
> A bunch of new updates to Scriptlike: A library to aid in 
> writing script-like programs in D.

You should add an overload

to

http://semitwist.com/scriptlike/scriptlike/interact/userInput.html

that takes a reference to an existing variable like this

     int x;

Something like this

     userInput(T)(string message, T x);

This removes the need for specifying the type of `x` in the call 
to `userInput` if x is already defined.


More information about the Digitalmars-d-announce mailing list