[DEVELOPMENT ENVIRONMENT]
[NEW] Added $PROJECT, $USER and $DATE macro atoms. These are handy if you write your own Code Snippets. git-svn-id: svn://localhost/gambas/trunk@5952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
8d85b9b227
commit
f40b9bf33e
1 changed files with 6 additions and 0 deletions
|
@ -194,6 +194,12 @@ Private Sub Make(Optional iIndent As Integer) As String
|
|||
sCar = Project.Description
|
||||
Else If sVar = "$AUTHOR" Or If sVar = "$AUTHORS" Then
|
||||
sCar = Split(Project.Authors, "\n", "", True).Join(", ")
|
||||
Else If svar = "$USER" Then
|
||||
sCar = User.Name
|
||||
Else If svar = "$DATE" Then
|
||||
sCar = Format$(Now(), gb.MediumDate)
|
||||
Else If svar = "$PROJECT" Then
|
||||
sCar = Project.Name
|
||||
Else
|
||||
sCar = sVar
|
||||
Endif
|
||||
|
|
Loading…
Reference in a new issue