在VBScript中LBound的意义/用途是什么?

编程入门 行业动态 更新时间:2024-10-26 08:31:37
本文介绍了在VBScript中LBound的意义/用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

据我所知,无法在VBScript中创建基于1的数组(或任何不基于0的数组),但是它具有LBound函数,因此应始终返回0.

As far as I can establish there is no way to create a 1-based array (or any none 0 based array) in VBScript but it has a LBound function which should therefore always return 0.

那么这是从VB退回的吗(您可以使用"arrayName(1到10)"),还是有一种方法可以使LBound在VBScript(经典ASP)中产生非0的结果? >

So is this some kind of throw back from VB (as you can use "arrayName(1 to 10)") or is there a way that LBound could product a result other than 0 in VBScript (Classic ASP)?

推荐答案

LBound()是VBScript的一部分,因为您可以通过COM从其他地方获取非基于零的数组.

LBound() is part of VBScript because you could get a non-zero-based array from somewhere else via COM.

更多推荐

在VBScript中LBound的意义/用途是什么?

本文发布于:2023-10-29 13:06:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539775.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用途   意义   VBScript   LBound

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!