| **Navigation:**  [[clarion.htm|Clarion.Net (Clarion#)]] > [[clarion net language reference.htm|Clarion# Language Extensions]] > Simple Data Types >====== CLAULONG (four-byte unsigned integer) ====== | [[clastring net fixed length string .htm|{{btn_prev_n.gif|Previous page}}]][[clarion net language reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[long and ulong in clarion .htm|{{btn_next_n.gif|Next page}}]] | | || {{newcnet.jpg|NewCNet.jpg}} | label | **CLAULONG(**[//initial value//]**)** | [,**DIM( )**] [,**NAME( )**] [,**EXTERNAL**] [,**DLL**] [,**STATIC**] | | | | [,**THREAD**] [,**AUTO**] [,**PRIVATE**] [,**PROTECTED**] | {{blk2blue.jpg|blk2blue.jpg}} | **CLAULONG** | A four-byte unsigned integer. | **Format:     magnitude ** **       |...................|** **Bits:  31                  0** **Range: 0 to 4,294,967,295** | //initial value// | A numeric constant. If omitted, the initial value is zero, unless the AUTO attribute is present. | | **DIM** | Dimension the variable as an array. | | **NAME** | Specify an alternate, "external" name for the field. | | **EXTERNAL** | Specify the variable is defined, and its memory is allocated, in an external library. Not valid within FILE, QUEUE, or GROUP declarations. | | **DLL** | Specify the variable is defined in a .DLL. This is required in addition to the EXTERNAL attribute. | | **STATIC** | Specify the variable's memory is permanently allocated. | | **THREAD** | Specify memory for the variable is allocated once for each execution thread. Also implicitly adds the STATIC attribute on Procedure Local data. | | **AUTO** | Specify the variable has no //initial value//. | | **PRIVATE** | Specify the variable is not visible outside the module containing the CLASS methods. Valid only in a CLASS. | | **PROTECTED** | Specify the variable is not visible outside base CLASS and derived CLASS methods. Valid only in a CLASS. | **CLAULONG** declares a four-byte unsigned integer, using the Intel 8086 long integer format. There is no sign bit in this configuration. **Example:** **Count1 CLAULONG                        !Declare four-byte unsigned integer** **Count3 CLAULONG,DIM(4)                 !Declare it an array of 4 unsigned longs** **Count4 CLAULONG(5)                     !Declare with initial value** **Count5 CLAULONG,EXTERNAL               !Declare as external** **Count6 CLAULONG,EXTERNAL,DLL           !Declare as external in a .DLL** **Count7 CLAULONG,NAME('SixCount')       !Declare with external name** **ExampleFile FILE,DRIVER('Btrieve')  !Declare a file** **Record       RECORD** **Count8        CLAULONG,NAME('Counter') !Declare with external name** **             END** **            END**