VB NOTES PART 2

VB NOTES PART 2 - are the same]---Dot notation...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1/27 ---Identifier rules: letters, digits, underscore No special characters [MyButton, my-Button; mybutton* is wrong] No spaces [ my Button is wrong] Compiler is going to treat words separately; therefore problems. Can’t start with a number [9myButton would be wrong] Can’t be a reserved word Reserved words: words reserved for compiler Not case sensitive---uppercase and lowercase is the same [okbutton and OkButton
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: are the same]---Dot notation ControlName_EventName ItemsText Box . Text Object property---Assignment operator Eg. ItemsTextBox.Text = “12” Two operands--Val function: Takes one or more argument, returns unique output (Output is uniquely determined by input)---Val: returns a number, given a string Val (12) returns 12---Comments: Start with ‘ Goes to end of line---continuation: underscore _ after white space...
View Full Document

This note was uploaded on 12/01/2011 for the course 6K 226 taught by Professor Staff during the Fall '10 term at University of Iowa.

Ask a homework question - tutors are online