Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / Bug with REDIM?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Bug with REDIM?
#1052
Posted by: 2003-08-04 12:52:36
I was playing with REDIM and I found an aparent bug
If i declare an array like:

dim blah(1,1) as short

and after I REDIM it

redim blah(60,60) as short

It causes strange behavior to Rapid-Q

Seems original array must be larger then  your redimed version (example: dim blah(100,100))

Anyone knew that? Am I correct?

FRP
Message2. Re: Bug with REDIM?
#1053
Posted by: guidance 2003-08-05 10:28:14
Is that different behaviour with the doc?
http://g.yi.org/_scripts/file.php?f=2492&r=2330
Message3. Re: Bug with REDIM?
#1058
Posted by: 2003-08-05 23:12:46
I don't know, but i concluded it's better create a dim instance only when u r sure what will be your size, instead of creating an array with any size to after redim it.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥477.00 ·
 
 
¥918.00 ·
 
 
¥370.00 ·
 
 
¥271.00 ·
 
 
¥995.00 ·
 
 
¥1,580.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0