precompile checks
This commit is contained in:
parent
401e24bb23
commit
3edb188921
22 changed files with 458 additions and 9 deletions
|
|
@ -1,3 +1,5 @@
|
|||
$if ConsoleColor = undefined then
|
||||
$let ConsoleColor = defined
|
||||
Sub ConsoleColor (Colour As _Unsigned Long)
|
||||
Select Case Colour
|
||||
Case 0 TO 255
|
||||
|
|
@ -5,4 +7,5 @@ Sub ConsoleColor (Colour As _Unsigned Long)
|
|||
Case Is > 255
|
||||
Print Chr$(27) + "[38;2;" + _Trim$(Str$(_Red32(Colour))) + ";" + _Trim$(Str$(_Green32(Colour))) + ";" + _Trim$(Str$(_Blue32(Colour))) + "m";
|
||||
End Select
|
||||
End Sub
|
||||
End Sub
|
||||
$end if
|
||||
Loading…
Add table
Add a link
Reference in a new issue