1. I got it working!

Irv (and others in general),

Thanks for helping me out, again.  I finally got this working.  I suspect=

that value() was just what I didn't want.  In the end, I didn't need to u=
se
anything.  See my program.

clear_screen()
include get.e
sequence s
puts(1,"Enter track to play: ")
s =3D gets(0)
sequence d
atom t
t =3D 0
while t =3D 0 do
d =3D date()
t =3D d[4] =3D 8
end while
system("c:\\cdp\\cdp.exe" & ' ' & s, 0)

Now my next step is to allow the user to enter the time.  A potential
problem I see is that I will make the user enter in military time, with a=

colon.  But if I am referencing the sequence, I don't know whether the us=
er
has entered 8:15, 20:15, or 08:15.  I don't know what my first two elemen=
ts
will be.  Of course, I can force the user to enter hh:mm, but I want to
make my program as...well, easy as possible.

--Alan
 =

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu