Here's code I threw together to march through the address book
I couldn't find documented how to get the address book entry count so
this code says the count is when the current entry=the last
Andy
Run on version 1.4.5 b0
-------cut here------------------------
# countaddress.bas
# Counts the number of addresses in the address book
# A Warren 11/11/06
b=0
dim a$(20)
while b<2000
get$("addr",b,20)
c$=""
for a=0 to 19
c$=c$+s$(20+a)
next a
a$(b)=c$
if b>1 then if a$(b)=a$(b-1) then
dprint b:exit
b=b+1
wend
-------cut here------------------------
--- In cbaspadandhotpawbasic@yahoogroups.com, "JeremyASmith"
<jeremyasmith@...> wrote:
>
> Hi, has anyone got an example of reading through the address book.
>
> What I want to do is write a program that I can give it a mobile
> number and it will search through the address book and return the name.
>
> Specificaly
> I cannot find out how to read sequentialy through the address book?
> I cannot find out how to get the mobile number?
>
> Cheers
> Jeremy
>