precompile checks
This commit is contained in:
parent
401e24bb23
commit
3edb188921
22 changed files with 458 additions and 9 deletions
5
btoa.bm
5
btoa.bm
|
|
@ -1,3 +1,5 @@
|
|||
$if btoa = undefined then
|
||||
$let btoa = defined
|
||||
Function btoa$ (s As String)
|
||||
Const B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
||||
Dim c1 As _Byte
|
||||
|
|
@ -16,4 +18,5 @@ Function btoa$ (s As String)
|
|||
If c4 > -1 Then Buffer = Buffer + Chr$(((c3 * 64 + c4) And 255))
|
||||
Next i
|
||||
btoa$ = Buffer
|
||||
End Function
|
||||
End Function
|
||||
$end if
|
||||
Loading…
Add table
Add a link
Reference in a new issue