Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset integer variable.

Status
Not open for further replies.

Syerston

Programmer
Jun 2, 2001
142
GB
How can you reset an integer variable, which is private to the form, with a value of nothing, without unloading the form. John
 
Integers do not have a value of nothing. They contain any numeric value (-32768 to +32767). Remember that an integer is represented by two bytes of memory, and the value is the binary represention of those two bytes. There is no bit pattern which represents nothing. All bits off would represent the value zero (0), which is the initial or default value of an integer. Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top