ClassStat: Add the flag for test modules.

[GB.UTIL]
* NEW: ClassStat: Add the flag for test modules.
This commit is contained in:
gambas 2020-05-22 16:02:12 +02:00
parent 9022603257
commit f55faedede
3 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -9,3 +9,4 @@ Public HasFast As Boolean
Public AutoCreate As Boolean
Public NoCreate As Boolean
Public Optional As Boolean
Public Test As Boolean

View file

@ -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