Inputing numbers

2017-08-21 Thread jzakiya
I want to input numbers into a program from the command line. $ ./myprogram Please iput number: The input number are unsigned 64-bit (uint64) I tried the following: let var = uint64(readling(stdin, input) But I apparently have to convert a string

Re: Indentation causes compiler errors

2017-08-20 Thread jzakiya
Hey thanks! That solved one set of problems. What's the difference between have the : and not having it. I've seen both cases in the docs and code.

Indentation causes compiler errors

2017-08-20 Thread jzakiya
I've been playing with Nim for about 4 weeks now. I've copied/run some small programs (Rosetta Stone), and translated some small Ruby snippets that compiled. Now I'm trying to do a direct translation of a bigger C++ program of about 200 loc with about 5 separate functions. Here's an example of

Re: Nim newbie request/challenge

2017-08-09 Thread jzakiya
OK, thanks for the feedback on your problems downloading the paper. Can you tell me what platform you are using, and what country you're accessing from? I see from my Scribd stats that the paper is being downloaded so it appears to be working for others. I'll look at putting the paper up on

Re: Nim newbie request/challenge

2017-08-09 Thread jzakiya
The link I provided in my first post allows you to read/download it free from my Scribd site. Here it is again. [https://www.scribd.com/doc/228155369/The-Segmented-Sieve-of-Zakiya-SSoZ](https://www.scribd.com/doc/228155369/The-Segmented-Sieve-of-Zakiya-SSoZ) I've tested it many times, and there

Re: Nim newbie request/challenge

2017-08-08 Thread jzakiya
Thanks. I'm in the process of learning enough Nim to take on this effort. However, I would do what you were thinking, and first try a comparable direct C++ to Nim translation, just to get something to work. But it's going to be some time (with my time/learning curve constraints) to create

Nim newbie request/challenge

2017-08-07 Thread jzakiya
Hi I have programmed in a few languages extensively in my life, though now I primarly use Ruby. I just found out about Nim literlly 3 weeks ago now (mid July 2017) after reading this article: **Nim for the discerning Rubyist**

<    1   2