11-19-2025, 06:38 PM
Probably I'm using this wrong which may be why it errors, but it just looks like to me this code should work, but it doesn't.
This line works to get s$ when calling the function by themselves:
s$ = _Base64Decode$(s$)
s$ = _Inflate$(s$)
But combining to do it this way doesn't put data to s$
s$ = _Base64Decode$(_Inflate$(s$))
Here's some code for example.
- Dav
This line works to get s$ when calling the function by themselves:
s$ = _Base64Decode$(s$)
s$ = _Inflate$(s$)
But combining to do it this way doesn't put data to s$
s$ = _Base64Decode$(_Inflate$(s$))
Here's some code for example.
- Dav
Code: (Select All)
'make short midi song to loop, channel 1
s$ = "eNpNirEJgDAURC8ICk7hBpY2IhExpEkhZAALC0GwcIEEXCAruImjuEn8HxXs7r17xs4TgBQCQlzGbgvRijgk2"
s$ = s$ + "VHgzBFqh1C5ffS1hK8kiweC5qH/RlHbMChqGxItQ0uj/57+fTqGTiKWuAHbIyjP"
s$ = _Base64Decode$(s$): s$ = _Inflate$(s$) '<<< when using this line, it works...
's$ = _Base64Decode$(_Inflate$(s$)) '<<< when using this line instead of above, it doesn't ..
song& = _SndOpen(s$, "memory")
_SndLoop song&
Sleep

