Last change
on this file was 150, checked in by chronos, 7 years ago |
- Added: Load/Save example source code from/to file instead of hardcoded text in application source code.
|
File size:
324 bytes
|
Line | |
---|
1 | Begin
|
---|
2 | PrintLn 'Super Calculator'
|
---|
3 | var Value1 Integer
|
---|
4 | var Value2 Integer
|
---|
5 | var Result Integer
|
---|
6 | Print 'Enter value 1: '
|
---|
7 | Assign Value1 0
|
---|
8 | InputLn Value1
|
---|
9 | Print 'Enter value 2: '
|
---|
10 | Assign Value2 0
|
---|
11 | InputLn Value2
|
---|
12 |
|
---|
13 | Assign Result Value1
|
---|
14 | Increment Result Value2
|
---|
15 | Print 'Sum of two values is: '
|
---|
16 | PrintLn Result
|
---|
17 | End
|
---|
Note:
See
TracBrowser
for help on using the repository browser.