TIP: Click on subject to list as thread! ANSI
echo: tuxpower
to: All
from: Ben Ritchey
date: 2016-05-24 08:18:42
subject: Prompts

Hi All,

I need to 1) display a prompt, 2) accept an alphanumeric value and assign
it to an environment variable, then 3) test the variable and act on it's
value(s). I can do 1) and 3) but how do I accept data into the environment?

I perused a few scripts and studied how to assign values to the
environment, etc., but keyboard input seems to be a rare case {chuckle}.

--
Keep the faith   :^)

   Ben  aka cMech  Web: http|ftp|telnet://cmech.dynip.com
                 Email: fido4cmech(at)lusfiber.net
              Home page: http://cmech.dynip.com/homepage/
           WildCat! Board 24/7  +1-337-984-4794  any BAUD 8,N,1

--- GoldED+/W32-MSVC
* Origin: FIDONet - The Positronium Repository (1:393/68)
SEEN-BY: 14/5 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1
SEEN-BY: 218/700 230/150 261/38 100 266/404 267/155 280/464 282/1056 292/907
SEEN-BY: 292/908 320/119 219 340/400 393/68 396/45 633/267 280 640/384 712/848
SEEN-BY: 770/1 801/189 2320/105
@PATH: 393/68 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.