Find 3: The Reckoning

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0010_01C04190.EA48A7A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

No, it's not a new movie, it's the same problem.........sort of...
Have a peek at this:

include get.e
sequence names,curname
object input
integer location
atom wn
wn=3Drand(3)
names =3D{"bob","them","worms"}
curname=3Dnames[wn]
printf(1,"curname: %s\n",{curname})

input=3Dgets(0)
? curname
puts(1,"\n")
? input

location =3D find(input[1],names[2])

puts(1,"\n")
? location


    The "location" variable only gives a correct number if "them" is =
used. Nothing else. I've looked at all the documentation I've got and =
either I am quite blind or, I just haven't found my solution. Anywho, if =
you could solve this problem, I'd be most grateful....


Das Svendanya
Thomas


PS. This should  be the last one.........
---------/\=3D=3D=3D=3D=3D=3D=3D

------=_NextPart_000_0010_01C04190.EA48A7A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>No, it's not a new movie, it's the same =

problem.........sort of...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Have a peek at this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080 face=3DArial size=3D2>include =
get.e<BR>sequence=20
names,curname<BR>object input<BR>integer location<BR>atom=20
wn<BR>wn=3Drand(3)<BR>names=20
%s\n",{curname})</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080 face=3DArial size=3D2>input=3Dgets(0)<BR>?=20
curname<BR>puts(1,"\n")<BR>? input</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080 face=3DArial size=3D2>location =3D=20
find(input[1],names[2])</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080 face=3DArial size=3D2>puts(1,"\n")<BR>?=20
location</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; The "location" =
variable only=20
gives a correct number if "them" is used. Nothing else. I've looked at =
all the=20
documentation I've got and either I am quite blind or, I just haven't =
found my=20
solution. Anywho, if you could solve this problem, I'd be most=20
grateful....</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Das Svendanya</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thomas</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PS. This <EM>should</EM>&nbsp; be the =
last=20
one.........</FONT></DIV>
<DIV><FONT face=3DArial =

------=_NextPart_000_0010_01C04190.EA48A7A0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu