Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: One-Liners back in town!

From: ammon:rcslv at: 24-Nov-2002 22:31

Hi, First off we have to consider that none of the submitions (so far) are TRUE One-Liners, everyone of them are missing the required REBOL header so therefore they are only One-Liners if used in the console, so how about the following rules for One-Liners: First, every One-Liner uses the standard header, including Title, Author, Email, Version, and Purpose. Or whatever you would normally put in a script that you are going to release to the public Then the One-Liner itself is a single line within the script and you can then add comments after the code explaining everything that is happening, or just put that in the Comments field in the header. That way you can pack as much punch in a single line as possible as long as you are willing to explain everything that is happening. Enjoy!! Ammon Johnson --- CIO Addept ------------------ ( 435-616-2322 -------- ([ammon--addept--ws])