diff options
| -rw-r--r-- | chapel.html.markdown | 6 | ||||
| -rw-r--r-- | csharp.html.markdown | 3 | 
2 files changed, 5 insertions, 4 deletions
| diff --git a/chapel.html.markdown b/chapel.html.markdown index c8489371..05e5b867 100644 --- a/chapel.html.markdown +++ b/chapel.html.markdown @@ -1074,14 +1074,14 @@ Installing the Compiler  Chapel can be built and installed on your average 'nix machine (and cygwin).  [Download the latest release version](https://github.com/chapel-lang/chapel/releases/) -and its as easy as  +and it's as easy as    1. `tar -xvf chapel-1.11.0.tar.gz`   2. `cd chapel-1.11.0`   3. `make`   4. `source util/setchplenv.bash # or .sh or .csh or .fish` -You will need to `source util/setchplenv.EXT` from within the Chapel directory (`$CHPL_HOME`) every time your terminal starts so its suggested that you drop that command in a script that will get executed on startup (like .bashrc). +You will need to `source util/setchplenv.EXT` from within the Chapel directory (`$CHPL_HOME`) every time your terminal starts so it's suggested that you drop that command in a script that will get executed on startup (like .bashrc).  Chapel is easily installed with Brew for OS X @@ -1100,4 +1100,4 @@ Notable arguments:   * `--fast`: enables a number of optimizations and disables array bounds checks. Should only enable when application is stable.   * `--set <Symbol Name>=<Value>`: set config param `<Symbol Name>` to `<Value>` at compile-time.   * `--main-module <Module Name>`: use the main() procedure found in the module `<Module Name>` as the executable's main. - * `--module-dir <Directory>`: includes `<Directory>` in the module search path.
\ No newline at end of file + * `--module-dir <Directory>`: includes `<Directory>` in the module search path. diff --git a/csharp.html.markdown b/csharp.html.markdown index 479b7f01..222ba0d2 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -236,7 +236,8 @@ on a new line! ""Wow!"", the masses cried";              // Ternary operators              // A simple if/else can be written as follows              // <condition> ? <true> : <false> -            string isTrue = (true) ? "True" : "False"; +            int toCompare = 17; +            string isTrue = toCompare == 17 ? "True" : "False";              // While loop              int fooWhile = 0; | 
