DocMaker Demo
by Marcus 'MAC' Röckendorf
Version 1.0
Content
Enumerations
Procedures
Math functions
Procedures
This is a program for demonstration purposes. It doesn't make any sense.
This is a program for demonstration purposes. It doesn't make any sense.
Enumerations
The constants here define several different mathematical functions.
Constant |
Description |
#Math_Addition
|
Defines an addition
|
#Math_Substraction
|
Defines a subtraction
|
#Math_Multiplication
|
Defines a multiplication
|
#Math_Division
|
Defines a division
|
Procedures
This is a procedure to test DocMaker's functionality. The image is a picture of Looky Lindwurm, the star of the upcoming 3D point&click adventure game "Wormventures - Barrier 51". It is just here to show the inclusion of images into the documentation.
Syntax:
DocMakerTest(SomeText.s, Value.i=0)
Parameters:
Parameter |
Description |
SomeText
|
Some text to give to the procedure.
|
Value
|
A value to give the procedure as a parameter. (optional)
|
Returns:
This procedure returns nothing.
Math functions
This chapter contains mathematical functions. Chapters can be switched with the chapter tag.
Procedures
This procedure adds the given values and returns the result.
Syntax:
Addition(Value1.i, Value2.i)
Parameters:
Parameter |
Description |
Value1
|
The first value to process.
|
Value2
|
The second value to process.
|
Returns:
The procedure returns the sum of the given values.
Example:
Debug Addition(12, 5)
; Will print 17 to the console
See also:
Subtraction(), Multiplication(), Division()
This procedure subtracts the given values and returns the result.
Syntax:
Subtraction(Value1.i, Value2.i)
Parameters:
Parameter |
Description |
Value1
|
The first value to process.
|
Value2
|
The second value to process.
|
Returns:
The procedure returns the difference of the given values.
Example:
Debug Subtraction(12, 5)
; Will print 7 to the console
See also:
Addition(), Multiplication(), Division()
This procedure multiplicates the given values and returns the result.
Syntax:
Multiplication(Value1.i, Value2.i)
Parameters:
Parameter |
Description |
Value1
|
The first value to process.
|
Value2
|
The second value to process.
|
Returns:
The procedure returns the product of the given values.
Example:
Debug Multiplication(12, 5)
; Will print 60 to the console
See also:
Addition(), Subtraction(), Division()
This procedure divides the given values and returns the result.
Syntax:
Division(Value1.i, Value2.i)
Parameters:
Parameter |
Description |
Value1
|
The first value to process.
|
Value2
|
The second value to process.
|
Returns:
The procedure returns the division of the given values.
Example:
Debug Division(60, 5)
; Will print 12 to the console
See also:
Addition(), Subtraction(), Multiplication()