longer than string

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
according
New poster
Posts: 5
Joined: Sun Aug 13, 2006 5:21 pm

longer than string

Post by according »

Hi. Is it possible to create a longer chain, than string can do? Using string we can only work with at most 255 letters, than is quite few for me. I need to work with 1000 maybe more. Is there any way how to get long one chain like that? I mean does there exist an date type of length more than 255?

Something like integers and longint.

Thanks for answers and sorry for my english.
Giorgi
New poster
Posts: 48
Joined: Wed Jun 07, 2006 6:26 pm
Location: Georgia Tbilisi

Post by Giorgi »

You can simply use string for that. String is 255 symbols in your compiler,but In judge system strings may be very large. If you want strings can be more than 1000000 symbols.
Erik
Learning poster
Posts: 67
Joined: Fri Jul 01, 2005 11:29 am
Location: Germany
Contact:

Post by Erik »

You can use the type AnsiString explicitly for strings with no limitation (4GB) in length.
Post Reply

Return to “Pascal”