Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help me please to sort this out
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shellas




PostPosted: Thu Feb 05, 2004 7:15 am   Post subject: Help me please to sort this out

I am new to Visual basic and I am looking for someone who can help me on the following issue.

I need an illustration on the use of

Sub procedures
Function procedure
Event procedures



Your help will be greatly appreciated
Thank yu in advance
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Feb 05, 2004 9:00 am   Post subject: (No subject)

Rolling Eyes this is a help question and should be in [VB Help], not [VB Submissions]. but since you're new, I'm going to let it slide this time... though this post will be moved later on.

Procedure is basically a block of code. There're different types.

A sub procedure is a custom block of code. It could be a set of steps that are often repeated. Having them in a procedure will allow you to reuse the code. Such as clearing all the fields for example, or updating some values.

A function procedure is a one used to calculate and return a value. It is just like a math function - you plug in the numbers and it spits out the answer.

A event procedure is the one that handles events such as button click. It is the set of steps that happen when a certain even in the program occurs.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: