Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
documentation:install:mac [2017/03/27 11:51] Maurits W. Haverkortdocumentation:install:mac [2017/03/27 12:03] Maurits W. Haverkort
Line 21: Line 21:
 You now can run the program from the terminal by typing (Quanty [enter]). You now can run the program from the terminal by typing (Quanty [enter]).
 ### ###
 +
 +===== Run Quanty from the terminal =====
 +
 +###
 +In order to run Quanty from the terminal you type Quanty followed by an enter. If you do so the program will place a small amount of text on your screen and then complain that it has nothing to do. If you want a real calculation you have to give Quanty a set of instructions as input. These are saved in text files and given as second argument in the terminal. For example you can type in the terminal:
 +###
 +
 +###
 +echo 'print("Hello World")' > MyFirstQuantyProgram.Quanty
 +###
 +
 +###
 +and then:
 +###
 +###
 +Quanty MyFirstQuantyProgram.Quanty
 +###
 +
 +###
 +In order to do more elaborated calculations modify the input file. (open -t MyFirstQuantyProgram.Quanty [enter])
 +###
 +
 +{{ :documentation:install:run.png?600 |}}
  
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>.#1}} {{indexmenu>.#1}}
Print/export