Where do we now report new bugs? #bugs


joy8388608
 

I don't know who was\is tracking the new bugs found in version 7.2. Was the Yahoo Testing group converted to GIO? Did someone keep a list of the new bugs found? Where do we now report new bugs? I think I've found a new one in the clearing of arrays. If you run the following clip, the problems should be obvious.
(Is is still ok to post code like this in messages?)

Joy

SetArray Bug
; Joy Mycroft 2019/12/26
^!Continue Run in New Document to see bug when clearing arrays.
^!InsertText SetArray %VariableName%=ArrayData ^%NL%...During the assignment, the individual items from the ArrayData are ^%NL%each stored in a new variable with the same name as the base variable ^%NL%plus an index number reflecting their corresponding position. The ^%NL%variable at index 0 has a special purpose as it stores the actual ^%NL%number of items contained in the array. You can change the values of ^%NL%the individual indexed items by using the ^!Set, ^!Inc, ^!Dec ^%NL%commands, and the changes are reflected in the base variable. IF YOU ^%NL%ASSIGN AN EMPTY VALUE TO AN ARRAY VARIABLE, OR USE THE ^!SET COMMAND ^%NL%TO ASSIGN A NEW VALUE TO IT, THE ARRAY IS AUTOMATICALLY REMOVED FROM ^%NL%MEMORY. ^%NL%^%NL%

^!SetListDelimiter ;
^!SetArray %TestAry%=a;b;c;d;e;f
^!InsertText 01) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!clearvariable %TestAry4%
^!InsertText 02) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Clearvariable %TestAry%
^!InsertText 03) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry%=^%EMPTY%
^!InsertText 3a) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry3%=z
^!InsertText 04) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry%=y
^!InsertText 05) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!SetArray %TestAry%=a;b;c;d;e;f
^!InsertText 06) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry%=x
^!InsertText 07) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Clearvariable %TestAry%
^!InsertText 08) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!SetArray %TestAry%=a;b;c;d;e;f
^!InsertText 09) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!SetArray %TestAry2%=w
^!InsertText 9a) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry%=^%EMPTY%
^!InsertText 10) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!SetArray %TestAry%=a;b;c;d;e;f
^!InsertText 11) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!clearvariable %TestAry1%
^!InsertText 12) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Set %TestAry%=^%EMPTY%
^!InsertText 13) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Goto END


joy8388608
 

Hi All,

I didn't notice any answers on bug reporting. I don't know if I should take a look in my records for bugs in 7.2 I have reported and try to find them and repost them somewhere.

This Array one I just found is particularly nasty if you are using INC to add to values in an array, not all values may be cleared so you may wind up with incorrect values. I found some ways in which this works and doesn't work correctly.

I suppose you could always use something like ;^!SetArray %TestAry%=0;0;0;0;0;0 to clear to all zeros.

^!SetListDelimiter ;
^!SetArray %TestAry%=1;2;3;4;5;6
^!InsertText 01) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!clearvariable %TestAry4%
;^!set %TestAry4%=9
; but uncommenting the set command fixes it
^!InsertText 02) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

; Problem with both clearvariable and set to EMPTY
^!Set %TestAry%=^%EMPTY%
;^!Clearvariable %TestAry%
^!InsertText 03) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

^!Inc %TestAry1%
^!Inc %TestAry2%
^!Inc %TestAry3%
^!Inc %TestAry4%
^!Inc %TestAry5%
^!Inc %TestAry6%
^!InsertText 3a) >^%TestAry%< >^%TestAry0%< >^%TestAry1%< >^%TestAry2%< >^%TestAry3%< >^%TestAry4%< >^%TestAry5%< >^%TestAry6%< ^%NL%

Joy