hi again
I had few days and try to do some stuff in Amos... and stuck.
This is sequence from original code
...
...
_LOAD[KAT$+"dane/potwory/szkielet","dane:potwory/szkielet","Dane",1]
...
...
...
Procedure _LOAD[A$,B$,NAPI$,TRYB]
If Exist(A$)
Goto ODCZYT
Else
A$=B$
REQUEST[A$,NAPI$]
End If
ODCZYT:
On Error Proc BLAD
If TRYB=0 : Load A$ : End If
If TRYB=1 : Load A$,1 : End If <-------------- HERE
If TRYB=2 : Load Iff A$ : End If
If TRYB=3 : Load Iff A$,0 : End If
If TRYB=4 : Load Iff A$,1 : End If
If TRYB=5 : Load Iff A$,2 : End If
If TRYB=6 : Track Load A$,3 : End If
If TRYB=7 : Load A$,3 : End If
If TRYB=8 : Load A$,4 : End If
If TRYB=9 : Load A$,5 : End If
End Proc
There is a file "szkielet" (11kb). It must be a bank with Bobs (few frames animation of skeleton monster).
But I'cant load it! I always got "I/O Error" message ... file can't be corrupted, also it must be bank data number 1... i've checked read/write process and all works fine... so WTF ?
Are there any differences between structures of banks in original Amos Pro and patched or this Turbo plus extension ??
Because the source code is very old and probably comes from first Amos Pro ver.
If anyone can load the file and view the bobs let me know (i will upload this file to section).
-----
Well I think i will not upload it now because it's not that easy
....
(where is button to upload files ?)
OK I see it thanks...
Here it is