Difference between revisions of "Manuals/calci/z3console"

From ZCubes Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
'''For example: test1.z3'''<br>
 
'''For example: test1.z3'''<br>
 
[[File:Capture4.JPG]]<br><br/>
 
[[File:Capture4.JPG]]<br><br/>
7.  Open '''Command Prompt''' and go to root C.<br>
+
7.  Open '''Command Prompt''' and go to root C. '''cd''' should be to '''c:z3 folder'''.<br>  
8.  cd should be to c:z3 folder.<br>  
+
8.  If not the path has to be set and it can be invoked from anywhere.<br>
9.  If not the path has to be set and it can be invoked from anywhere.<br>
+
9.  Or we need to invoke z3compiler with full path.<br>
10.  Or we need to invoke z3compiler with full path.<br>
 
 
[[File:Capture6.JPG]]<br><br/>
 
[[File:Capture6.JPG]]<br><br/>
8.  Run this program as '''z3compiler.exe test1.z3''' as shown below.<br>
+
10.  Run this program as '''z3compiler.exe test1.z3''' as shown below.<br>
 
[[File:Capture7.JPG]]<br><br/>
 
[[File:Capture7.JPG]]<br><br/>
  

Revision as of 03:19, 22 September 2017

z3console


Description

  • INSTALLATION
  • EXAMPLE

STEPS TO INSTALL Z3CONSOLE:
1. Create a folder "z3" in the local drive C.
Capturea.JPG

DOWNLOAD FILE:
2. Download z3compiler from http://downloads.zcubes.com/zconsole/z3compiler.zip.
3. Extract the files into the same folder z3.
Capture2.JPG

Capture3.JPG

INSTALL FILE:
4. Once you extract the file in "z3" folder, run it as an administrator.
Capture10.JPG

Capture11.JPG

RUN z3 FILE:
5. Open a new text document.
6. Save the file using the extension .z3 into the same directory(z3).
Capture5.JPG

For example: test1.z3
Capture4.JPG

7. Open Command Prompt and go to root C. cd should be to c:z3 folder.
8. If not the path has to be set and it can be invoked from anywhere.
9. Or we need to invoke z3compiler with full path.
Capture6.JPG

10. Run this program as z3compiler.exe test1.z3 as shown below.
Capture7.JPG

EXAMPLE

Sum of two Numbers
a. Open test1.z3 file using Notepad.
b. Write the following program into it and save the file as shown below:
Capture8.JPG

c. Open Command Prompt and go to root C.
d. Run this program as z3compiler.exe test1.z3 as shown below.
Capture9.JPG