Computer Science Canada

Net.Connection

Author:  1337_brad [ 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


Author:  person [ Thu Jan 27, 2005 6:49 pm ]
Post subject: 

i dont see an error when i run it

Author:  1337_brad [ 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

Author:  person [ Thu Jan 27, 2005 6:52 pm ]
Post subject: 

although...the error is probably because u r using a process

Author:  1337_brad [ Thu Jan 27, 2005 6:52 pm ]
Post subject: 

It occured before I used the process, that is why I tried putting in the process.

Author:  person [ Thu Jan 27, 2005 6:55 pm ]
Post subject: 

wich line?

Author:  1337_brad [ Thu Jan 27, 2005 6:57 pm ]
Post subject:  This line

get : ConnectionStream, sent

Author:  person [ Thu Jan 27, 2005 7:01 pm ]
Post subject: 

sorry, still no problem on mine, sorry

Author:  1337_brad [ Thu Jan 27, 2005 7:01 pm ]
Post subject:  This makes 0 sense then....

=/ I have no clue then...

Author:  person [ Thu Jan 27, 2005 7:02 pm ]
Post subject: 

btw try it without a process, after all, processes are hard to stop

Author:  1337_brad [ Thu Jan 27, 2005 7:02 pm ]
Post subject:  Here...

Here is my actual program =/

Author:  1337_brad [ Thu Jan 27, 2005 7:03 pm ]
Post subject:  Hold on...

Connect, and then don't dissconnect I want to try something.


: