简体   繁体   English

VBA * 1在声明变量时是什么意思?

[英]VBA what does * 1 mean when declaring a variable?

I have seen VBA code that declares a variable like this 我看过VBA代码声明了这样的变量

Dim name As String * 1

what does * 1 mean? * 1是什么意思?

It designates the length of the string in characters. 它以字符为单位指定字符串的长度。 String*n is a fixed length string of n characters String*nn字符的固定长度字符串

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM