做什么 !和# 表示在 VB6 中附加到数字时?

做什么 !和# 表示在 VB6 中附加到数字时?

问题描述:

我最近遇到了数字文字,例如 10!和 50# 在 Visual Basic 程序中.谁能告诉我这些标点符号是什么意思?

I have recently come across numeric literals such as 10! and 50# in Visual Basic programs. Could anyone tell me what these punctuation marks mean?

它们被称为类型声明字符.这篇文章提供了更多信息.

They are called type declaration characters. This article has more information.

  % Integer
  & Long
  ! Single
  # Double
  $ String
  @ Currency