Author |
Message |
1337_brad
|
Posted: Thu Jan 27, 2005 6:47 pm Post subject: Net.Connection |
|
|
Hey, I am getting this wierd error and just wondered if anybody knows what it is. The error reads "Process "getstuff": No terminating quote for quoted string". Here is my code:
code: |
var ConnectionStream : int
const port : int := 80
var sent : string
ConnectionStream := Net.OpenConnection ("lightbringer.furcadia.com", port)
put : ConnectionStream, "connect Bradvot 0403"
put : ConnectionStream, "wh Un-off Hi"
process getstuff
loop
if Net.LineAvailable (ConnectionStream) then
get : ConnectionStream, sent
if sent (1) = "[" then
put sent
end if
end if
end loop
end getstuff
fork getstuff
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
person
|
Posted: Thu Jan 27, 2005 6:49 pm Post subject: (No subject) |
|
|
i dont see an error when i run it
|
|
|
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 6:51 pm Post subject: .. |
|
|
It doesn't error right away, it is after a while of being connected. It just dies out for no reason and gives me that error
|
|
|
|
|
![](images/spacer.gif) |
person
|
Posted: Thu Jan 27, 2005 6:52 pm Post subject: (No subject) |
|
|
although...the error is probably because u r using a process
|
|
|
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 6:52 pm Post subject: (No subject) |
|
|
It occured before I used the process, that is why I tried putting in the process.
|
|
|
|
|
![](images/spacer.gif) |
person
|
Posted: Thu Jan 27, 2005 6:55 pm Post subject: (No subject) |
|
|
wich line?
|
|
|
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 6:57 pm Post subject: This line |
|
|
get : ConnectionStream, sent
|
|
|
|
|
![](images/spacer.gif) |
person
|
Posted: Thu Jan 27, 2005 7:01 pm Post subject: (No subject) |
|
|
sorry, still no problem on mine, sorry
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 7:01 pm Post subject: This makes 0 sense then.... |
|
|
=/ I have no clue then...
|
|
|
|
|
![](images/spacer.gif) |
person
|
Posted: Thu Jan 27, 2005 7:02 pm Post subject: (No subject) |
|
|
btw try it without a process, after all, processes are hard to stop
|
|
|
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 7:02 pm Post subject: Here... |
|
|
Here is my actual program =/
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Testbot.t |
Filesize: |
450 Bytes |
Downloaded: |
101 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
1337_brad
|
Posted: Thu Jan 27, 2005 7:03 pm Post subject: Hold on... |
|
|
Connect, and then don't dissconnect I want to try something.
|
|
|
|
|
![](images/spacer.gif) |
|