Search notes:

VBA: colon, the statement separator

In VBA, a statement is typically terminated at the end of a line (but see line continuation in VBA).
In order to have multiple statements on one line, they can be separated by a colon:
debug.print "foo" : debug.print "bar" : debug.print "baz"
The problem with the colon is that it is also used to define labels. Thus, the following probably does not do what the auther indended, because doSomething : will be interpreted as a label by the VB Editor's eagerness to lay out code.
sub doSomething
    …
end sub

sub main
    doSomething : doAnotherThing
end sub

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758201006, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/VBA/language/statements/_separator(45): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78