Thread View: alt.lang.basic
4 messages
4 total messages
Started by Barata
Thu, 04 Dec 1997 00:00
COULD YOU HELP ME PLEASE?
Author: Barata
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
11 lines
965 bytes
965 bytes
I'm sorry for this lamer question, but... I wonder If you could tell me if I can do something like this work in Qbasic 4.5? PRINT "adress "; INPUT adress SHELL ping adress Thanks.. :-)
Re: COULD YOU HELP ME PLEASE?
Author: Sammy
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
27 lines
1291 bytes
1291 bytes
CLS INPUT " Address" Add$ PRINT Add$ END I'm sure what SHELL ping address is....... hth Sammy Barata <mop07498@mail.telepac.pt> wrote in article <01bd0052$e7432ee0$d7f141c2@default>... > I'm sorry for this lamer question, but... I wonder If you could tell me if > I can do something like this work in Qbasic 4.5? > > > PRINT "adress "; > INPUT adress > SHELL ping adress > > > Thanks.. :-) > >
Re: COULD YOU HELP ME PLEASE?
Author: Rob Davis
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
25 lines
1447 bytes
1447 bytes
Remove MAPSON if replying via email
> I'm sorry for this lamer question, but... I wonder If you could tell me if
> I can do something like this work in Qbasic 4.5?
>
>
> PRINT "adress ";
> INPUT adress
> SHELL ping adress
In QuickBASIC:-
INPUT "Enter the address ", Address$
SHELL "PING "+ Cmd$
PRINT "Returned from shell."
Note that under Visual Basic the command is different:-
(assuming a text box called txtCmd)
Dummy=SHELL("PING " + txtCmd.Text)
Rob Davis MSc MIAP
Anstey, Leicester UK. 0976 379489
abuse@localhost, postmaster@localhost
Re: COULD YOU HELP ME PLEASE?
Author: Christian Watteng�rd
Date: Tue, 09 Dec 1997 00:00
Date: Tue, 09 Dec 1997 00:00
20 lines
1235 bytes
1235 bytes
Barata wrote in message <01bd0052$e7432ee0$d7f141c2@default>... >I'm sorry for this lamer question, but... I wonder If you could tell me if >I can do something like this work in Qbasic 4.5? > > >PRINT "adress "; >INPUT adress >SHELL ping adress > input "IP Adress: ",ip$ cmd$="ping "+ip$ shell cmd$ This should work... Chris...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads