This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/wenv/jedit/templates/prototcol.vm

26 lines
535 B
Plaintext
Raw Normal View History

## 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 "yy/MM/dd" )
:- info([
version is $version,
author is '$authorname',
date is $date,
comment is '$comment').
#caret ()
:- end_protocol.