You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
function WriteString(file as dword, pos as dword, s as string)
strlen = len(s) - 1
for c = 0 to strlen
write byte to file file, pos + c, asc(mid$(s, c))
rem Add null-termination character
write byte to file file, pos + strlen, 0
Because Oct(31) = Dec(25)
Login to post a reply