Search the web
Sign In
New User? Sign Up
cbaspadandhotpawbasic · cbasPad and HotPaw Basic - Discussions about cbasPad and HotPaw Basic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Reading through Address Boook   Message List  
Reply | Forward Message #1971 of 2113 |
Re: Reading through Address Boook

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
>






Sun Nov 12, 2006 1:21 pm

treeandysann
Offline Offline

Forward
Message #1971 of 2113 |
Expand Messages Author Sort by Date

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...
JeremyASmith
Offline Send Email
May 11, 2006
2:11 pm

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...
treeandysann
Offline
Nov 12, 2006
1:28 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help