Skip to content
Snippets Groups Projects
  • Mark OLESEN's avatar
    096b9dc5
    TUT: add parallel version for various squareBend cases · 096b9dc5
    Mark OLESEN authored
    - adjust commented-out evaluation to avoid warnings.
    
      With code like this
      ```
      #if 0
      nxin    #eval{ round($nxin / 5) };
      #endif
      ```
    
      The handling of the "#if 0 / #endif" clause uses the plain ISstream
      parser to tokenize. This means that the "round(" is parsed as a word
      with a mismatched closing ')', whereas the "#eval" parser will slurp
      everything in until the closing brace and send it off as a string
      to the expression parser.
    096b9dc5
    History
    TUT: add parallel version for various squareBend cases
    Mark OLESEN authored
    - adjust commented-out evaluation to avoid warnings.
    
      With code like this
      ```
      #if 0
      nxin    #eval{ round($nxin / 5) };
      #endif
      ```
    
      The handling of the "#if 0 / #endif" clause uses the plain ISstream
      parser to tokenize. This means that the "round(" is parsed as a word
      with a mismatched closing ')', whereas the "#eval" parser will slurp
      everything in until the closing brace and send it off as a string
      to the expression parser.
Allrun 374 B
#!/bin/sh
cd "${0%/*}" || exit                                # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions        # Tutorial run functions
#------------------------------------------------------------------------------

./Allrun.pre

runApplication $(getApplication)

#------------------------------------------------------------------------------