ClassStat: Add the flag for test modules.
[GB.UTIL] * NEW: ClassStat: Add the flag for test modules.
This commit is contained in:
parent
9022603257
commit
f55faedede
3 changed files with 5 additions and 1 deletions
|
@ -90,6 +90,7 @@ Static Public Sub Stat(Name As String) As ClassStat
|
|||
hStat.Optional = BTst(iFlag, 2)
|
||||
hStat.NoCreate = BTst(iFlag, 3)
|
||||
hStat.HasFast = BTst(iFlag, 4)
|
||||
hStat.Test = BTst(iFlag, 5)
|
||||
|
||||
GotoNextSection(hFile) ' description
|
||||
GotoNextSection(hFile) ' constant
|
||||
|
|
|
@ -9,3 +9,4 @@ Public HasFast As Boolean
|
|||
Public AutoCreate As Boolean
|
||||
Public NoCreate As Boolean
|
||||
Public Optional As Boolean
|
||||
Public Test As Boolean
|
||||
|
|
|
@ -20,7 +20,9 @@ Public Sub Main()
|
|||
|
||||
'Print String.PadLeft("Gambas", 16, "×->")
|
||||
'Print String.PadRight("Gambas", 16, "×->")
|
||||
Print Now;; Date.ToISO8601(Now);; Date.ToISO8601(Now, "-0200")
|
||||
'Print Now;; Date.ToISO8601(Now);; Date.ToISO8601(Now, "-0200")
|
||||
|
||||
Print DateAdd(Date.EasterDay(2020), gb.Day, 40)
|
||||
|
||||
End
|
||||
|
||||
|
|
Loading…
Reference in a new issue