
-----------------------------------
Bob-o
Sat Apr 19, 2003 1:19 pm

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?

-----------------------------------
Blade
Sat Apr 19, 2003 1:21 pm


-----------------------------------
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
Sat Apr 19, 2003 1:22 pm


-----------------------------------
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

-----------------------------------
Bob-o
Sat Apr 19, 2003 1:24 pm


-----------------------------------
ok moving on then... 

know anything about the (open:stream, " ", get) code??? I can't get it to work

-----------------------------------
Tony
Sat Apr 19, 2003 1:33 pm


-----------------------------------
I'd like you to get familiar with our tutorial section. With 30 tutorials now and more on the way, you can find answers to most of your questions there. -> http://www.compsci.ca/bbs/viewtopic.php?t=5
