Does VB.NET have an empty statement? -
i looking empty statement in vb.net similar in c/c++:
; my understanding empty statement nothing. however, when try use c# vb.net converter gain insight given blank line. there similar can use besides empty space?
in c expression becomes statement when followed semicolon. semicolon statement terminator. equivalent statement terminator in visual basic line break , equivalent of empty statement empty expression followed line break.
your first example this.
function processmessage() boolean ... end function sub processmessages() while processmessage() end while end sub your second example this. note exit keyword in visual basic, have call label else.
sub f() ... if done goto _exit end if ... _exit: end sub
Comments
Post a Comment