Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-29-2004, 06:06 AM   #1
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
Can anyone here code Delphi?

not the most popular language i know

but i have something i would like an experienced programmer to overlook

59* 101_924 is my ICQ

Thanks
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 06:36 AM   #2
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
I can. What do you need?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 06:44 AM   #3
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
mind msging me?
i have a problem with POS & COPY

Thanks
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 06:56 AM   #4
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
damn, not since delphi 3
i feel fucking old (and im only 19)

i havent needed it in a long time, ive only done web based stuff lately.

delphi rocks
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 07:15 AM   #5
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
i wouldnt say it rocks but
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 08:07 AM   #6
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
still seeking help
you will not regret it
thats for sure
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 09:40 AM   #7
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 09:46 AM   #8
Thomas1007
Confirmed User
 
Thomas1007's Avatar
 
Join Date: Aug 2002
Location: BC Canada
Posts: 5,542
Please contact Us
mxdevelopment

__________________
BUY THIS SPOT CONTACT ME FOR DETAILS


Thomas1007 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 09:50 AM   #9
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
my icq is above!
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 10:02 AM   #10
Thomas1007
Confirmed User
 
Thomas1007's Avatar
 
Join Date: Aug 2002
Location: BC Canada
Posts: 5,542
Icq sent
__________________
BUY THIS SPOT CONTACT ME FOR DETAILS


Thomas1007 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 11:07 AM   #11
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
thanks
but keep it coming guys
i never forget a person who helped me with something
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 11:23 AM   #12
init
Confirmed User
 
Join Date: Oct 2002
Location: Sarasota, FL
Posts: 973
post the whole problem here
__________________
icq: 2721653
init is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 11:31 AM   #13
AvanteGuard
Confirmed User
 
Join Date: Jan 2004
Location: Cortland, OH
Posts: 451
Quote:
Originally posted by Trax
thanks
but keep it coming guys
i never forget a person who helped me with something
Hey man, want me to look it over?
__________________
Looking for Fast Professional Programming? http://www.imadigan.com
ICQ: 314-942-262 | MSN/Email: [email protected]
AvanteGuard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 11:39 AM   #14
i am a lurker
Confirmed User
 
Join Date: Mar 2004
Posts: 521
Quote:
Originally posted by Trax
thanks
but keep it coming guys
i never forget a person who helped me with something
so you want it done for free? cheap ******
__________________
i am a lurker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 11:49 AM   #15
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
Of course i can post it here


here we go:

procedure TForm1.FormCreate(Sender: TObject);
var temp :string;
begin
AssignFile(Txt, 'a.txt');
Reset(Txt);
Memo1.Lines.Clear;
Memo2.Lines.Clear;
While not EOF(txt) do begin ReadLn(txt, temp); Memo1.Lines.Add(temp); end;
CloseFile(Txt);
end;

procedure TForm1.SearchButtonClick(Sender: TObject);
var
temp :string;
such :string;
result :array[0..100] of string;
i, j, anf, lang: integer;
begin
such:=edit1.Text;
Reset(Txt);
i:=0;
j:=0;
While not EOF(txt) do
begin
ReadLN(Txt, temp);
total:=length(such);
beg:=pos(such, temp);
if anf <> 0 then
begin
result[i]:=copy(temp, beg, total);
memo2.lines.add('Found in line '+inttostr(j)+' the result '+result[i]);
inc(i);
end;
inc(j);
end;
end;
end.


no the problem

lets say the text file looks like this:

"1 2 3 4 5 1 2 3
oaewrhgoawehg owehg

wioehgweg 1woeihgwoeihgw"

and i search for "1" it only displays that its found in line 1 and in line 3
however i want it to find the other 1's in line1 as well
but i am not able to work with that
somebody told me something about posEx but i am not able to work with that and it has to be done with POS and COPY

i am freshing up my delphi knowledge a bit and am stuck here
my programmers told me delphi is a joke and that noone still codes with it - well ... i learnt it in school so hehe
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 12:36 PM   #16
init
Confirmed User
 
Join Date: Oct 2002
Location: Sarasota, FL
Posts: 973
just by looking it over, it seems that after 1 is found it automatically increases j, so even if there is a second one on the same line, j will be increased and possibly give you the wrong line its on..?
__________________
icq: 2721653
init is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 01:19 PM   #17
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
Heh... I actually do know a guy who's a Delphi expert... I always make fun of him, this time he may actually be useful for something

ICQ him at 145213011, tell him I gave you his UIN so he doesn't freak out.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2004, 01:26 PM   #18
Trax
[----------------------]
 
Join Date: Aug 2001
Posts: 14,486
thanks to both- init for the tip and fuzebox for the icq#
Trax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.