Difference between revisions of "Manuals/calci/z3console"
Line 30: | Line 30: | ||
=='''EXAMPLE'''== | =='''EXAMPLE'''== | ||
− | '''Sum of two Numbers'''<br> | + | '''Example1: Sum of two Numbers'''<br> |
a. Open '''test1.z3''' file using Notepad.<br> | a. Open '''test1.z3''' file using Notepad.<br> | ||
b. Write the following program into it and save the file as shown below:<br> | b. Write the following program into it and save the file as shown below:<br> | ||
Line 37: | Line 37: | ||
d. Run this program as '''z3compiler.exe test1.z3''' as shown below.<br> | d. Run this program as '''z3compiler.exe test1.z3''' as shown below.<br> | ||
[[File:Capture9.JPG]]<br><br/> | [[File:Capture9.JPG]]<br><br/> | ||
+ | |||
+ | '''Example2: Using z3 functions'''<br> |
Revision as of 03:22, 22 September 2017
Description
- INSTALLATION
- EXAMPLE
STEPS TO INSTALL Z3CONSOLE:
1. Create a folder "z3" in the local drive C.
DOWNLOAD FILE:
2. Download z3compiler from http://downloads.zcubes.com/zconsole/z3compiler.zip.
3. Extract the files into the same folder z3.
INSTALL FILE:
4. Once you extract the file in "z3" folder, run it as an administrator.
RUN z3 FILE:
5. Open a new text document.
6. Save the file using the extension .z3 into the same directory(z3).
For example: test1.z3
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.
10. Run this program as z3compiler.exe test1.z3 as shown below.
EXAMPLE
Example1: 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:
c. Open Command Prompt and go to root C.
d. Run this program as z3compiler.exe test1.z3 as shown below.
Example2: Using z3 functions