Help with seq's

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

Hi
I need some help with this

include get.e
with trace

sequence lname--,fname
object count,t1,count2,k,string1,string2,string3--,count3

 --       1 1           1 2
lname={{".Tesing 1 1","testing 1 2"},
-- 2 1            2 2
{"testing 2 1","Tesing 2 2"},
--  3  1        3  2
{"Testing 3 1","Testing 3 2"},
--  4 1       4    2
{"test 4 1","test 4 2"}}
for q= 1 to length(lname) do


    puts(1,lname[q][1])
    puts(1,"\n")

    puts(1,lname[q][2])
    puts(1,"\n")
end for
count2=prompt_number("Enter 1 array # > ",{})
count= prompt_number("Enter 2 array # > ",{})
puts(1,"\n")
t1=length(lname)
print(1,t1)
puts(1,"\n")
puts(1,lname[count2][count])
k=wait_key()
clear_screen()
-- Test to make a seq This is the Part that I need help with
trace(1)
string3=""
string1=prompt_string("Enter a string > ")
string1="{"&string1&"}"
string2=prompt_string("Enter a String 2 > ")
string2="{"&string2&"}"
string3=string1&string2
--count3=prompt_number("enter a Number > ",{})

puts(1,string3[1])

I am trying to put together and array of seq's then I could access them
with string3[1] or 2 but when I try this it does not work I get d and not
David or what I put in there.Thanks for the help

David
pmosley at infoway.lib.nm.us

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

Search



Quick Links

User menu

Not signed in.

Misc Menu