Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Net Connection Chat Room

Author
Message
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 31st May 2008 14:21 Edited at: 31st May 2008 14:55
Im trying to create a net connection chat room, im using the dark basic book as help becuase they have a chapter on this.

But i keep having this problem where it says command out of place...and i dont see what is out of place




the command they say is out of place is the 'endif' command.


Ive read all the book on network connections, and this chat room is an example, ive copyed the example so it helps me learn the commands



I copyied it exactly but it still says its wrong

Your signature has been erased by a mod because the mods have nothing better to do and get bored very easy.
RedFlames
17
Years of Service
User Offline
Joined: 25th Aug 2007
Location: Germania
Posted: 31st May 2008 16:08
first of all in the complete code:
this...

... misses one "endif"

A$ = INKEYS()
should be
A$ = INKEY$()
at line 105

and line 112 is messed up too:

should be


115: If RETURNKEY90=1 AND B$ <> ""
should be: If RETURNKEY()=1 AND B$ <> ""

line 118/119 ...

really too much typos in the code, just go through it again...

Login to post a reply

Server time is: 2024-11-25 04:36:50
Your offset time is: 2024-11-25 04:36:50