diff --git a/Tips-and-tricks.md b/Tips-and-tricks.md index 6514e46..4b35916 100644 --- a/Tips-and-tricks.md +++ b/Tips-and-tricks.md @@ -1,4 +1,4 @@ -* Use "nimrod check myfile.nim" to check your program for errors, without code generation. This makes the process quicker. +* Use "nim check myfile.nim" to check your program for errors, without code generation. This makes the process quicker. ## Using reserved words as identifiers @@ -24,8 +24,8 @@ when isMainModule: ``` #### Defining `useSomeFeature` -* Do it when you compile: `$ nimrod c -d:useSomeFeature myApp` -* Put it in the local `nimrod.cfg` file `define:useSomeFeature` +* Do it when you compile: `$ nim c -d:useSomeFeature myApp` +* Put it in the local `nim.cfg` file `define:useSomeFeature` ## How do I echo in a ``{.noSideEffects.}`` proc?