www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/07/12:00:21

From: "Shaggs" <jud AT tminet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Scripting language
Date: Thu, 6 May 1999 21:16:08 -0700
Organization: Posted via RemarQ Communities, Inc.
Lines: 20
Message-ID: <926050335.535.31@news.remarQ.com>
References: <NCLPKBKEJBODBAAA AT mailcity DOT com>
NNTP-Posting-Host: 208.145.132.45
NNTP-Posting-Date: Fri, 07 May 1999 04:12:15 GMT
X-Trace: 926050335.535.31 K8TBLZBRT842DD091C usenet1.supernews.com
X-Complaints-To: newsabuse AT remarQ DOT com
X-Newsreader: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

If the language is just based on commands, have the program do some "if"s on
the text and match it up.

for a speed increase have a compiler that puts each command in number form,
so like command 0 would be walk, 1 jump, etc
Brian Ronk wrote in message ...
>I would like to make a scripting language where I can go into another
program and type, say "walk W 5", and by character would walk five spaces
west.  I would like to know how you would program the commands in, how they
would work, how to store them.  To store them, I guess I would just put it
in an extremely large array, or a linked list of some sort.  Does anyone
have any ideas?  Thanks.
>
>Brian Ronk
>
>
>Get your FREE Email at http://mailcity.lycos.com
>Get your PERSONALIZED START PAGE at http://my.lycos.com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019