ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Event programming question
peter kraus
Mon, 8 Mar 1999 09:32:12 -0500

i did this and the ed program loaded with the text file but the  D W Q
commands did not get to the ed program? any thing that i might not be doing
correct?
-----Original Message-----
From: Mark Gilmore <omnip@usit.net>
To: ecs-list@netbloc.com <ecs-list@netbloc.com>
Date: Sunday, March 07, 1999 10:26 AM
Subject: Re: [ECS] Event programming question


:Martin,
:Create a batch file (e.g. "X.BAT") containing:
:  ED X.TXT    (or any other filename)
:  D
:  W
:  Q
:
:Then create a Text Item whose text is "X".
:Setting it to EXECUTE will then delete the
:1st line of X.TXT.
:
:Martin Terry wrote:
:>
:> Mark (or anybody else that can answer this)-
:>
:> I'm a little fuzzy about the T(d)<-T(d) operator in event programming,
even
:> after reading the description. Can you give a short example of how this
is
:> used?
:>
:> Also, what I'm really driving at is having an event delete the first line
of
:> a text file, but leaving remaining lines as is. Is anyone doing something
:> like this in ECS? Can you post a short example?
:
:--
:Mark Gilmore
:Omnipotence (ECS Home Automation Software)
:omnip@usit.net
:http://www.usit.com/omnip
:



  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.