明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1138|回复: 4

字符串数组代码怎么分行

[复制链接]
发表于 2018-7-2 10:11:11 | 显示全部楼层 |阅读模式
本帖最后由 diadblo 于 2018-7-4 08:43 编辑

如题,怎么在代码编辑那分成多行显示下面代码,一行太长了,用" _"和" _ &"者没有
代码如下

VariableName = Array("DimScale", "DimLFac", "DimADec", "DimAssoc", "DimASz", "DimAtFit", "DimAUnit", "DimAZin", "DimBlk", "DimBlk1", "DimBlk2", "DimCen", "DimClrD", "DimClrE", "DimClrT", "DimDec", "DimDLE", "DimDLI", "DimDSep", "DimExe", "DimExO", "DimFrac", "DimGap", "DimJust", "DimLdrBlk", "DimLim", "DimLUnit", "DimLwd", "DimLwe", "DimPost", "DimRnd", "DimSAh", "DimSD1", "DimSD2", "DimSE1", "DimSE2", "DimSho", "DimSOXD", "DimTAD", "DimTIH", "DimTIX", "DimTOFL", "DimTOH", "DimTSz", "DimTVP", "DimTxSty", "DimTxt", "DimUPT", "DimZIn", "DimAlt", "DimAltD", "DimAltF", "DimAltRnd", "DimAltTD", "DimAltTZ", "DimAltU", "DimAltZ", "DimAPost", "DimTol", "DimTDec", "DimTFac", "DimTM", "DimTolJ", "DimTP", "DimTZin")       '关于标注的系统变量名



发表于 2018-7-3 17:55:13 | 显示全部楼层
vbcrlf 分行
 楼主| 发表于 2018-7-4 08:42:12 | 显示全部楼层

我说的是代码在VBA那里是怎么分行显示,  怎么我试过没用的?可以举例说明一下怎么用?
发表于 2018-7-4 09:12:39 | 显示全部楼层
diadblo 发表于 2018-7-4 08:42
我说的是代码在VBA那里是怎么分行显示,  怎么我试过没用的?可以举例说明一下怎么用?

代码分行应该是用下划线加空格 "_ "
 楼主| 发表于 2018-7-9 08:08:57 | 显示全部楼层
dong20030432 发表于 2018-7-4 09:12
代码分行应该是用下划线加空格 "_ "

我靠,我之前用过不行,现在又行........
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-29 02:33 , Processed in 0.160396 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表