Dim x, y as integer.

What is x and y data type?

Answer Posted / zaher al-balawi

in vb6 : x and y both are Special Variant that convert
numbers to intger

lock for this example

Dim lop1, lop2, lop3 As Integer
lop2 = "6.1"
lop1 = "4.5"
lop3 = "3.1"

Print lop1, lop2, lop3
Print lop2 + lop1
Print lop3 + lop2

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is DAO?

1585


what are the types of cursors in DAO?

1408


How do you create a form in visual basic?

470


Explain the working of templates?

564


What are the important components of OLEDB?

2403






what are the types of LockEdits in DAO?

1501


What is a toolbox in visual basic?

504


Is the Variant type slower than using other variable types?

1106


Which property of textbox cannot be changed at runtime. What is the max size of textbox?

561


What are the scope of the class?

1533


What's the difference between MODAL and MODELESS forms?

1019


What is the use of progress Bar Control?

1491


What is recordset in visual basic?

561


Can you create a Updatecascade, Deletecascade relation in Ms- Access?

1694


what is the Difference between Tabletype and Snapshot?

1519