adsense


Sunday, 8 November 2015

ADVANCE VB SCRIPT SUB-PROCEDURES PAGE 91

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




ADVANCE VB SCRIPT SUB-PROCEDURES





Sub-Procedures 

Sub-Procedures are similar to functions but there are few differences. 

• Sub-procedures DONOT Return a value while functions may or may not return a value. 

 

• Sub-procedures Can be called without call keyword. 

 

• Sub-procedures are always enclosed within Sub and End Sub statements. 

Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
 Sub sayHello() 
   msgbox("Hello there") 
 End Sub 
 
</script> 
</body> 
</html> 


No comments: