You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will use LoadSDBank with variables for long data files and got an error 9009.
Here my code (maybe not perfect, but I can't test it):
LoadBigSDBank("xxx.nxt", 95488, 40)
sub LoadBigSDBank(byval name as string, byval length as ulong, byval bank as ubyte)
dim chunk as ulong
dim i, part as ubyte
part = cast(ubyte,length/8192)
chunk = cast(ubyte,length mod 16384)
for i = 0 to part - 1 step 2
LoadSDBank(name,0,16384,cast(ulong,i)*16384,bank+i)
next i
if chunk > 0 then LoadSDBank(name,0,chunk,part*16384,bank+part) : end if
end sub
I have looked at the python script and it requires a direct variables in the procedure call.
Can this be changed or I have to self use switch banks and LoadSD?
Regards
Hans
The text was updated successfully, but these errors were encountered:
The intention was to allow LoadSDBank to work as a normal command if required after insertion to a NEX file (without using #DEFINE NEX) but it seems to have stopped working. As lig701 states for now if LoadSD is a suitable alternative until I have chance to take a look what has happened. Also sorry for the delay!
Hello,
I will use LoadSDBank with variables for long data files and got an error 9009.
Here my code (maybe not perfect, but I can't test it):
I have looked at the python script and it requires a direct variables in the procedure call.
Can this be changed or I have to self use switch banks and LoadSD?
Regards
Hans
The text was updated successfully, but these errors were encountered: