1. [DOS] Thomas's program

--=====================_971531357==_

Hi Thomas
I took a look at your program and it is good.The if/then idea is kind of
right when you staircase the loop's it looks better,but you don't have to
in order for it to work like this:

for t = 1 to 5 do
        puts(1,"Hi")
for y=1 to 5 do
puts(1,"There")
end for
end for
this will work to,but is hard to read so it is nicer this way:
for t = 1 to 5 do
        puts(1,"Hi")
  for y = 1 to 5 do
     puts(1,"there")
  end for
end for
?="if/then,for/endfor/,etc"
just remember to put an end ? for every loop ?.I made a change to your
program in the top part it is just another way to do it.

David Mosley
pmosley at infoway.lib.nm.us

--=====================_971531357==_
Content-Transfer-Encoding: quoted-printable

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu