Joke Collection Website - Cold jokes - & lt% Option Explicit%> What do you mean, beginner asp:)
& lt% Option Explicit%> What do you mean, beginner asp:)
Mandatory variable declaration, undeclared variables cannot be used.
Clear choice in writing
If you have a variable that is used without declaration, the system will prompt you that it is wrong.
Option explicit
Private subcommand 1_Click ()
Darken a as a string.
a = "tttt "
MsgBox (a)
End joint
The above contents have been successfully implemented.
Option explicit
Private subcommand 1_Click ()
a = "tttt "
MsgBox (a)
End joint
There is a compilation error in the above program, that is, as long as Option Explicit is used, all variables must be declared. For example, the wrong program has no dim a statement, so it is wrong.
Private subcommand 1_Click ()
a = "tttt "
MsgBox (a)
End joint
This part can also run normally, because there is no option explicit, so you can not declare variables.
- Previous article:Ukrainian president speaks online language.
- Next article:Why does Naruto Hidan live forever? How did he die? thank you
- Related articles
- Joke information about pigs
- A story is about a monk's Zen talk about Taoism, but it is a bit like a joke.
- Folk stories and myths about the Yellow River.
- Shooting the King's Purgatory Challenge Mode Raiders How to Play the Top Ten BOSS
- Indian dining etiquette
- What harm does arm liposuction have? Is it safe?
- In ancient times, deer were horses, but today, camels are horses.
- Write a 150-word essay describing appearance and actions
- What are the eggs and puzzles in the grotesque town?
- Qinling cave joke