2572851ad5
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@791 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
26 lines
538 B
Plaintext
26 lines
538 B
Plaintext
## template = protocol
|
|
#buffermode ( "logtalk" )
|
|
#prompt ( "Protocol name:" $protocolname )
|
|
#prompt ( "Extended protocols (comma separated):" $protocols )
|
|
#if ( $protocols )
|
|
:- protocol($protocolname,
|
|
extends($protocols)).
|
|
#else
|
|
:- protocol($protocolname).
|
|
#end
|
|
|
|
#prompt ( "Version:" $version "1.0" )
|
|
#prompt ( "Author name:" $authorname )
|
|
#prompt ( "Comment:" $comment )
|
|
#today ( $date "yyyy/MM/dd" )
|
|
:- info([
|
|
version is $version,
|
|
author is '$authorname',
|
|
date is $date,
|
|
comment is '$comment']).
|
|
|
|
|
|
#caret ()
|
|
|
|
:- end_protocol.
|