Re: Moving from Python to D

2015-05-08 Thread avarisclari via Digitalmars-d-learn
On Friday, 8 May 2015 at 04:08:03 UTC, Nick Sabalausky wrote: On 05/08/2015 12:06 AM, Nick Sabalausky wrote: On 05/07/2015 11:24 PM, avarisclari wrote: scene = scenes["title"] It looks like scenes is a dictionary that stores dictionaries of strings? If so, then in D, scenes would be declar

Moving from Python to D

2015-05-07 Thread avarisclari via Digitalmars-d-learn
Hello, Sorry to bother you with something trivial, but I am having trouble translating a block of code I wrote in Python over to D. Everything else I've figured out so far. Could someone help me understand how to get this right? Here's the python: scene = scenes["title"] while 1 == 1: