🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #659

Re: COULD YOU HELP ME PLEASE?

#659
From: Rob Davis
Date: Thu, 04 Dec 1997 00:00
25 lines
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
Technical Details
Message-ID: <34865dd3.2335042@news>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd0052$e7432ee0$d7f141c2@default>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c949,4b3b51a32acbb1de
X-Google-Attributes: gid10c949,public
X-Google-Thread: 10ab99,4b3b51a32acbb1de
X-Google-Attributes: gid10ab99,public
X-Google-Thread: f78f1,4b3b51a32acbb1de
X-Google-Attributes: gidf78f1,public
X-Google-Thread: 100d42,4b3b51a32acbb1de
X-Google-Attributes: gid100d42,public
X-Google-Thread: 112458,4b3b51a32acbb1de
X-Google-Attributes: gid112458,public
From: rad@MAPSON.elsham.foobar.co.uk (Rob Davis)
Subject: Re: COULD YOU HELP ME PLEASE?
Date: 1997/12/04
Message-ID: <34865dd3.2335042@news>
X-Deja-AN: 295230258
References: <01bd0052$e7432ee0$d7f141c2@default>
Organization: posted via Foobar Internet (UK)
Reply-To: rad@MAPSON.elsham.foobar.co.uk
Newsgroups: alt.lang.basic,comp.lang.basic.misc,fido.ger.basic,microsoft.public.basic.dos,microsoft.public.basic.other