[REBOL] Headers
From: louisaturk::eudoramail::com at: 19-Apr-2002 15:53
Hi Anton,
At 01:22 AM 4/20/2002 +1000, you wrote:
>Although I am not really expecting it here on this
>list, I don't see a script header. If you are not
>using script headers, I recommend them to you and
>anyone else reading. All my scripts have them.
That I do for all my scripts, except that I generally remove their contents
for my posts to keep from distracting from the code itself. But I guess I
should leave at least the purpose field there. Is there any reason to post
all the fields?
To try to maintain consistency, I have a template file named header with as
much of the info as possible already filled in which I insert when I begin
each script. Here it is (I suspect that there is more even to these
headers than I realize. Are there some advanced purposes for the headers?):
REBOL [
Title: ""
Date: 1-Jan-2002
Version: 1.0.0 ; majorv.minorv.status
; status: 0 = unfinished; 1 = testing; 2 = stable
File: %
Author: "Louis A. Turk"
Rights: {Copyright (C) Louis A. Turk 2002}
Needs: [{Core 2.5}]
Email: [louisaturk--eudoramail--com]
Language: 'English
Purpose: {}
Comments: {}
History: [
1.0.0 [1-Jan-2002 {} {lat}]
]
]
The version comments I copied from someone on this list. I don't remember
who, but they help.
Louis