Delete lines in files (text files)

Randall Lee Reetz randall at randallreetz.com
Thu Jan 17 15:01:00 EST 2008


Was joking.

-----Original Message-----
From: "Devin Asay" <devin_asay at byu.edu>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: 1/17/2008 11:44 AM
Subject: Re: Delete lines in files (text files)


On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:

> Wow, i gave the supercard syntax, lots more verbose, (better  
> question: how do you delete a line of script?).

How about (not tested):

get the script of btn "myBtn"
delete line 4 of it
set the script of btn "myBtn" to it

I think you might run up against the 10-line script limitation if you  
were doing this in a standalone app. Anybody know for sure?


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list