Author |
Message |
Bob-o
|
Posted: Sat Apr 19, 2003 1:19 pm Post subject: strings |
|
|
The only strings I know how to use are:
string(1)
string
is there such thing as say string(10) if so how do you use it? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Blade
|
Posted: Sat Apr 19, 2003 1:21 pm Post subject: (No subject) |
|
|
in a string there's space for 256 characters... so by putting the (3) or even (50) beside it you are just limiting the amount of space for characters |
|
|
|
|
|
Tony
|
Posted: Sat Apr 19, 2003 1:22 pm Post subject: (No subject) |
|
|
string(10) is a string thats 10 characters long.
treat it as any other string, but you'll get an error if you try to assign a value larger then 10 (or whatever) number of characters. Its suppost ot save your memory as it is more efficient since it reserves memory only for 10 characters instead of 255 |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Bob-o
|
Posted: Sat Apr 19, 2003 1:24 pm Post subject: (No subject) |
|
|
ok moving on then...
know anything about the (open:stream, " ", get) code??? I can't get it to work |
|
|
|
|
|
Tony
|
|
|
|
|
|