P. 1
Visual Basic 6 Variables

Visual Basic 6 Variables

Ratings: (0)|Views: 161|Likes:
Published by z0r00zh

More info:

Published by: z0r00zh on May 31, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

09/12/2013

pdf

text

original

 
 
VISUAL BASICVariables-Operations
May 2002
 
 
Variable
Memory location whose value can change as theprogram is running.
Used to hold temporary information
Used to control the type of data used incalculations
Can Store only one piece of data at any time
Data is processed faster 
 
 
Data Types
Integer - Whole numbers - 2 bytes - +/- 32,767
Long - Whole numbers - 4 bytes - +/- 2 billion
Single - Decimal - 4 bytes - +/- 1E-45 to 2E38
Double - Decimal - 8 bytes - +/- 5E-324 to 1.8E308
Currency - 15 left, 4 right of decimal - 8 bytes - +/- 9E14
String - Text - 1 byte per character - 65,400 chars for fixed strings, 2billion for dynamic strings
Byte - Whole numbers - 1 byte – 0 to 255
Boolean - Logical values - 2 bytes - True or false
Date - Date and time - 8 bytes - 1/1/100 to 12/31/9999
Object - OLE objects - 4 bytes - N/A
Variant - Any preceding type - 16 bytes+1 byte per character - N/A

Activity (32)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
rajesh patel liked this
Liviu liked this
octaviancojocaru liked this
9898495927 liked this
Andy Caulin liked this
Ken R. Lignes liked this
Ramy Haddad liked this
Ramy Haddad liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->