[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Help needed for an unexperimented user



> So here is my question : can somebody tell me if there's a way to have a
> script, so that a copy of my source text is saved with all comments lines
> starting with ';' removed ; have this 'new and clean' source pop up in a
> new StrongEd window, and from here I can run the source, now not exceeding
> the max number of lines BASIC can handle.

Try the CTRL-dragging the script

#! lua
for line in io.lines (arg[1]) do
 if not line:match "^;" then print (line) end -- if
end -- for

-- 
Gavin Wraith (gavin@xxxxxxxxxxxxxxx)
Home page: http://www.wra1th.plus.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx