AUTHOR

Hey Gink. Did this today. Thought about you.

Shit sucks

Probably not even right




get_user_input(input, output, pathtype, pathrow):
read input
read output
read pathtype
read pathrow
return pathrow
end


read_dem(input, array1[>[>, count[>):
set infile to open(“input”Smiley
if file = 0 then
print error
return 0
else
read ROWS from infile
read COLS from infile
for (r = 0; r <= ROWS; r++)
for(c = 0; c <= COLS; c++)
read array1[r>[c> from infile
set count[> to {ROWS, COLS}


print_dem(array1[>, count[>):
set r to 0
while r < count[0>
set c to 0
while c < count[1>
print array1[r>[c>
set c to c+1
print ‘\n’
set r to r+1
print count[0> and count[1>
end
And there goes my formatting. Smiley
wrap your post with



I hope this shows up
lol <3
god dammit

<code></code> (but use the square bracks)



get_user_input(input, output, pathtype, pathrow):
read input
read output
read pathtype
read pathrow
return pathrow
end


read_dem(input, array1[][], count[]):
set infile to open(“input”)
if file = 0 then
print error
return 0
else
read ROWS from infile
read COLS from infile
for (r = 0; r <= ROWS; r++)
for(c = 0; c <= COLS; c++)
read array1[r][c] from infile
set count[] to {ROWS, COLS}


print_dem(array1[], count[]):
set r to 0
while r < count[0]
set c to 0
while c < count[1]
print array1[r][c]
set c to c+1
print ‘\n’
set r to r+1
print count[0] and count[1]
end
Well that is better....but still no tab overs...
You could do nested <quote>first indent<quote>second indent</quote>back to first indent</quote>

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).