Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / about strings$

Author
Message
Yuri
21
Years of Service
User Offline
Joined: 12th Jun 2003
Location: Italy
Posted: 17th Jul 2003 12:41
i've a little question:
how many chars can hold a string?
CBMZone main administrator
http://www.cbmzone.com
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 17th Jul 2003 14:03
I tought it was 255, but I'm not sure, wait a sec, i'm looking.

B-e-a-utiful... Visit my site: www.cuso.tk
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 17th Jul 2003 14:06
Yeah I was right, I made a little test program. And when the string reached 256 it gave an error.

B-e-a-utiful... Visit my site: www.cuso.tk
Yuri
21
Years of Service
User Offline
Joined: 12th Jun 2003
Location: Italy
Posted: 17th Jul 2003 14:11
i've to hold about 5000 chars.. how may i do this??
please help

CBMZone main administrator
http://www.cbmzone.com
Steverino
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 17th Jul 2003 15:11
Put them in an array. (See DB docs.)

____________________________________________
Surrealist writing toy -- http://www.iconpoet.com
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 17th Jul 2003 16:10
Beat me 2 It Yikes 5000 Characters is a bloody long string!

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!
Yuri
21
Years of Service
User Offline
Joined: 12th Jun 2003
Location: Italy
Posted: 17th Jul 2003 16:29
@steverino
i can't use arrays because i've to do string manipulation...
i'm trying to use memblocks...

CBMZone main administrator
http://www.cbmzone.com
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 17th Jul 2003 16:43
Why do you need 5000 characters!

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 17th Jul 2003 17:52
data and read maybe

---Mattman
DID YOU KNOW THAT ???
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th Jul 2003 19:26
If you have dbpro it will handle a 5000 charecter string. The length is proberly dependant on memory.

Login to post a reply

Server time is: 2024-11-24 22:49:42
Your offset time is: 2024-11-24 22:49:42