What do ! and # mean when attached to numbers in VB6?

后端 未结 3 609
情话喂你
情话喂你 2020-12-15 19:09

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?

3条回答
  •  时光说笑
    2020-12-15 19:45

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

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

提交回复
热议问题