Search notes:

VBScript: const

option explicit

const  foo       =   42
const  bar       = &H80
const  baz_date  = #08/28/1970#
const  baz_time  = #22:23:24#

dim    baz
baz = baz_date + baz_time

wscript.echo "foo =      " & foo
wscript.echo "bar =      " & bar
wscript.echo "baz_date = " & baz_date
wscript.echo "baz_time = " & baz_time
wscript.echo "baz =      " & baz
Github repository about-VBScript, path: /language/constants.vbs

See also

VBScript

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...', 1741107280, '3.145.199.93', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/VBScript/language/const(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78