Difference between revisions of "Z3 Editor"

From ZCubes Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==Editor and Short cut Keys==
 
==Editor and Short cut Keys==
  
In the code editor. generally, you can type the function name (case sensitive), and Shift+Enter will give you parameter expansion. Say CUBEROOT and Shift+Enter will give you CUBEROOT(Number)
+
In the code editor, generally, you can type the function name (case sensitive), and Shift+Enter will give you parameter expansion. Say CUBEROOT and Shift+Enter will give you CUBEROOT(Number)
  
 
or PMT Shift+Enter will give you PMT(Rate,NoPaymentPeriods,PresentValue,FutureValue,Type)
 
or PMT Shift+Enter will give you PMT(Rate,NoPaymentPeriods,PresentValue,FutureValue,Type)
Line 11: Line 11:
 
Code expansion also works with things like for, ifelse, switch, zswitch, zif, etc.  Simply press Shift+Enter after you type the term.  
 
Code expansion also works with things like for, ifelse, switch, zswitch, zif, etc.  Simply press Shift+Enter after you type the term.  
  
Say, type for and then press shift+space.
+
Say, type FOR and then press Shift+Enter.
  
 
Errors are highlighted immediately to give you help with typing things in correctly.
 
Errors are highlighted immediately to give you help with typing things in correctly.
 +
 +
Most functions are Combanatorial. That means you can run them as:
 +
PMT((12..20)%,12,1000) or SQRT(1..100) or COMBIN(10..100..10,2..3) etc.
 +
 +
 +
*[[Z%5E3_Language_Documentation | Z3 Language Documentation ]]
 +
*[[ Z3 | << Back to Z3 Home ]]

Latest revision as of 23:53, 13 July 2016


Editor and Short cut Keys

In the code editor, generally, you can type the function name (case sensitive), and Shift+Enter will give you parameter expansion. Say CUBEROOT and Shift+Enter will give you CUBEROOT(Number)

or PMT Shift+Enter will give you PMT(Rate,NoPaymentPeriods,PresentValue,FutureValue,Type)

Generally z^3 Editor automatically shows a listbox with likely functions that you could use given a few letters.

Code expansion also works with things like for, ifelse, switch, zswitch, zif, etc. Simply press Shift+Enter after you type the term.

Say, type FOR and then press Shift+Enter.

Errors are highlighted immediately to give you help with typing things in correctly.

Most functions are Combanatorial. That means you can run them as: PMT((12..20)%,12,1000) or SQRT(1..100) or COMBIN(10..100..10,2..3) etc.