×
Menu

Data Section

 
The data section is located at the first portion of the virtual address space within the GPC bytecode and contains static values which cannot be altered during run time. 
 
The main purpose for the data section is to store static information and the size of it is determined by the values within it.   The static values can be accessed in a GPC through the use of an indexer and definitions can also be used if they are placed before the data section, as shown below.
 
Data Section
 
The values placed within the data section are expressed in bytes (8 bit unsigned integer).   The index is zero based. As you can see above, the first value is index point 0 (zero) and the 11th value would be index point 10.
 
1
dbyte function
1. dbyte function
This function returns a byte value (8 bit unsigned integer) from the selected index within the array.
 

Syntax

dbyte ( <Index> );
 

Parameters

 
<index> : The index of an element within the data section
2
dchar function
2. dchar function
This function returns a char value (8 bit signed integer) from the selected index within the array.
 

Syntax

dchar ( <Index> );
 

Parameters

 
<index> : The index of an element within the data section
3
dword function
3. dword function
This function returns a word value (16 bit signed integer) from the selected index within the array.
 

Syntax

dword ( <Index> );
 

Parameters

 
<index> : The index of an element within the data section