hello everyone,
i have a small problem on autolisp. im trying to write one lisp to make list starting from number i to j(user defined).
Numbers are in the list incrementing +1. numbers supposed to be placed in the model area with following conditions;
one column holds max 18 numbers.
first 18 numbers supposed to be placed in first column,
numbers between i+18 and i+35 need to be placed at second column,
numbers between i+36 and i+53 need to be placed at thirth column and it goes until the number reach "j"
table location should be determined by user input
distance between columns and rows can be determined by user input or can be predetermined.
here is the sample of what im trying to do.
**********************************************
i i+18 i+36
i+1 i+19 i+37
i+2 i+20 i+38
i+3 i+21 i+39
i+4 i+22 i+40
i+5 i+23 i+41
i+6 i+24 j
i+7 i+25
i+8 i+26
i+9 i+27
i+10 i+28
i+11 i+29
i+12 i+30
i+13 i+31
i+14 i+32
i+15 i+33
i+16 i+34
i+17 i+35
*************************************************
i tried couple of different things but the codes became endless loop.
if anyone can help or just give an idea on how to do it i would be glad.
thanks in advance.