Difference between revisions of "Struct Reference"

Jump to navigation Jump to search
135 bytes added ,  18:16, 10 August 2017
Changed the structure array example
imported>Plplecuyer
 
imported>Qazaaq
(Changed the structure array example)
Line 50: Line 50:
=== Examples ===
=== Examples ===
<source lang="papyrus">
<source lang="papyrus">
; Create a new point
; Create a new point structure.
Point myPoint = new Point
Point myPoint = new Point
</source>
</source>
<br>
<br>
<source lang="papyrus">
<source lang="papyrus">
; Create an array of five points
; Create an array of five new point structures.
Point[] x = new Point[5]
Point[] array = new Point[5]
array[0] = new Point
array[1] = new Point
array[2] = new Point
array[3] = new Point
array[4] = new Point
</source>
</source>


Anonymous user

Navigation menu