简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8"/> <!-- 单行代码块 --> @Code dim myMessage = "Hello World" End Code <!-- 内联表达式或变量 --> <p>myMessage 变量的值是: @myMessage</p> <!-- Multi-statement block --> @Code dim greeting = "欢迎来到简单教程(www.twle.cn)" dim weekDay = DateTime.Now.DayOfWeek dim greetingMessage = greeting & " 今天是 : " & weekDay End Code <p>欢迎消息: @greetingMessage</p>
运行结果: