Create savehexpalette.bm
This commit is contained in:
parent
4c82f072fc
commit
99b4d1bc34
1 changed files with 9 additions and 0 deletions
9
savehexpalette.bm
Normal file
9
savehexpalette.bm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Sub SaveHexPalette (palettearray() As _Unsigned Long, filename As String)
|
||||
ff = FreeFile
|
||||
Open filename For Output As ff
|
||||
For i = 0 To UBound(palettearray)
|
||||
Print #ff, Right$(Hex$(palettearray(i)), 6);
|
||||
If i < UBound(palettearray) Then Print #ff, ""
|
||||
Next i
|
||||
Close ff
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue