Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Net.Connection
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
1337_brad




PostPosted: 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

Sponsor
Sponsor
Sponsor
sponsor
person




PostPosted: Thu Jan 27, 2005 6:49 pm   Post subject: (No subject)

i dont see an error when i run it
1337_brad




PostPosted: 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
person




PostPosted: Thu Jan 27, 2005 6:52 pm   Post subject: (No subject)

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




PostPosted: 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.
person




PostPosted: Thu Jan 27, 2005 6:55 pm   Post subject: (No subject)

wich line?
1337_brad




PostPosted: Thu Jan 27, 2005 6:57 pm   Post subject: This line

get : ConnectionStream, sent
person




PostPosted: Thu Jan 27, 2005 7:01 pm   Post subject: (No subject)

sorry, still no problem on mine, sorry
Sponsor
Sponsor
Sponsor
sponsor
1337_brad




PostPosted: Thu Jan 27, 2005 7:01 pm   Post subject: This makes 0 sense then....

=/ I have no clue then...
person




PostPosted: Thu Jan 27, 2005 7:02 pm   Post subject: (No subject)

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




PostPosted: Thu Jan 27, 2005 7:02 pm   Post subject: Here...

Here is my actual program =/


Testbot.t
 Description:
Evil

Download
 Filename:  Testbot.t
 Filesize:  450 Bytes
 Downloaded:  94 Time(s)

1337_brad




PostPosted: Thu Jan 27, 2005 7:03 pm   Post subject: Hold on...

Connect, and then don't dissconnect I want to try something.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: