删除ASP多维数组 [英] Delete ASP Multidimensional Array

查看:63
本文介绍了删除ASP多维数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是ASP的新手,必须承认它的证明比我知道的其他语言要多得多。我觉得这是因为那里没有很多很好的官方资源来帮助你做最基本的事情。


其中一个基本我无法弄清楚如何做的事情是如何从多维数组对象中删除一个项目并调整它的大小

之后。


设想从多维

数组中删除代码似乎很容易,但它只是不起作用。肯定它应该像

一样简单:


myArray.delete(1,0)

myArray.remove( 5,7)


但它是什么以及如何找出 - 这似乎不是一种方式。我估计,在m $和

书籍作者之间肯定会发生一些勾结,例如在4天内学习ASP !!!。扼杀

的信息传播以赚钱,因为这种语言是不真实的!

I''m fairly new to ASP and must admit its proving a lot more unnecessarily
complicated than the other languages I know. I feel this is because there
aren''t many good official resources out there to help do the most basic
things.

One of the "basic" things I haven''t been able to find out how to do is how
to delete an item from a multidimensional array object and resize it
afterwards.

It seems so easy to conceive of the code to delete from a multidimensional
array but it just isn''t working. Surely it should be as easy as something
like:

myArray.delete(1,0)
myArray.remove(5,7)

but what it is and how to find out - there just doesn''t seem to be a way. I
reckon there must have been some collusion going on between m$ and the
writers of books called things like "Learn ASP in 4 days!!!" to stifle the
spread of information in order to make money because this language is
unreal!

推荐答案



书籍的作者称之为在4天内学习ASP !!!扼杀

的信息传播以赚钱,因为这种语言是不真实的!
and the
writers of books called things like "Learn ASP in 4 days!!!" to stifle the
spread of information in order to make money because this language is
unreal!


试试

redim yourArray(5,5)


如果你想保留现有数据


redim保留yourArray( 6,6)


这些都列在vbscript文件中

< no **** @ nospam.com>在留言中写道

新闻:pe ****************************** @ bt.com .. 。
try
redim yourArray(5,5)

if you want to preserver the existing data

redim preserve yourArray(6,6)

this is all listed in the vbscript file
<no****@nospam.com> wrote in message
news:pe******************************@bt.com...
我是ASP的新手,必须承认它比我所知的其他语言更加不必要地证明了它的复杂性。我觉得这是因为那里没有很多很好的官方资源来帮助做最基本的事情。

其中一个基本的东西。我无法找到怎样做的事情是如何从多维数组对象中删除一个项目然后调整它的大小

这看起来很容易设想从多维数组删除代码,但它只是不起作用。当然它应该像
之类的那样简单:

myArray.delete(1,0)
myArray.remove(5,7)

但它是什么以及如何找出 - 这似乎并不是一种方式。
我认为m
I''m fairly new to ASP and must admit its proving a lot more unnecessarily
complicated than the other languages I know. I feel this is because there
aren''t many good official resources out there to help do the most basic
things.

One of the "basic" things I haven''t been able to find out how to do is how
to delete an item from a multidimensional array object and resize it
afterwards.

It seems so easy to conceive of the code to delete from a multidimensional
array but it just isn''t working. Surely it should be as easy as something
like:

myArray.delete(1,0)
myArray.remove(5,7)

but what it is and how to find out - there just doesn''t seem to be a way.
I reckon there must have been some collusion going on between m


之间肯定会发生一些勾结。
书籍的作者称之为在4天内学习ASP !!!为了赚钱而扼杀信息的传播,因为这种语言是不真实的!
and the
writers of books called things like "Learn ASP in 4 days!!!" to stifle the
spread of information in order to make money because this language is
unreal!



这篇关于删除ASP多维数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆