Announcements
当我引用一个数据表中的一个元素时,我用%DATA[0][1]%、%DATA[1][0]%、%DATA[3]%、%DATA[4]%等格式可以,但是我把单位元素的下标设置为%DATA[%index%]%, %index%为确定的数字变量时却提示为无效值,请问这个怎么解决!
I believe it's a syntax issue.
Try %DATA[Index]% instead of %DATA[%Index%]%.
Also, assure Index is a number. Depending on how it's defined, variables in PAD are stored as text. If that's the case, use 'Convert text to number'
确实是您说的两个%%之间的变量都不需要%号了,完美的解决问题,谢谢
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 481
11manish 278
David_MA 276 Super User 2026 Season 1