So Im trying to make a table maker thing to easily make tables for sites because Im bored. But I cant get it right, somehow it never draws all the text or just throws an error. Anyone wanna try to fix it?
<a href='http://64digits.com/users/Kaz/table.gm6'>File</a>In other news, its wicked cold. For the past 5 days its been below 65 all day, Im wearing 2 shirts and 2 pants now. It looks like its gonna rain but its not like it matters to me.
Yes, even Kaz needs help sometimes.
I haven't felt code in a long time even though it's the same temperature 'round here.
//init(rows,columns)
rows = argument0;cols = argument1;for(ii=1;ii<=rows;ii+=1){ for(i=1;i<=cols;i+=1) { text[i,ii] = ""; }}for(i=1;i<=cols;i+=1){ col_wid = 0;}The problem is in init. You have to use <= instead of <. When you drew the table you did rows+1 and cols+1. You need to have done the same in the initialization, which caused the array index to be out-of-bounds.=O
…and what the heck was that supposed to mean?