Hi to all.
I’d like to take a block of lines which have numbers ranging from 1 onwards and replace the numbers such that they have 1 added (not inserted!) to them. I have:
global.ar_arc[1,1]=room_test_bg
global.ar_arc[1,2]=global.info_part_bg //partial info
global.ar_arc[1,3]=global.info_full_bg //empty//oinfo_full.bg //full info
global.ar_arc[1,4]=780 //empty
global.ar_arc[1,5]=240 //empty
global.ar_arc[1,6]=global.info_map_bg //empty
global.ar_arc[1,7]=5//x position on arc select screen.
global.ar_arc[1,8]=0 //row on arc select screen. 0 = top row, 1 = bottom row
global.ar_arc[1,9]=0 //empty
global.ar_arc[1,10]=global.title_sel_head_bg
global.ar_arc[1,11]=global.title_sel_sub_bg
I’d like to replace the numbers in the second column of the 2x1 matrices above so they are +1 the original number. For example, the [1,9] should become [1,10], the [1,10] becomes [1,11], [1,11] becomes [1,12] etc.
Is there any way to do this using the Replace Function? I’ve tried searching for such a function but keep running into functions that deal with inserting numbers, rather than adding to what I already have.
Thanks for any help!