> I still don't understand what you need help with. The string is now in
> the procedure.
Sorry it is my fault, I did not explain the problem correct in my
post.
My Fat16 lib is OK. But to start it, I need to send the name of the
file that I like to select to the procedure.
So I solved it in that way.
var byte FilenameReq[8]="SOUND00A"
FAT16_OpenFile(FilenameReq)
This works fine, but the next step I wanted to take was to send a
new(different) file-name to the procedure when the previous was
executed:
var byte FilenameReq[8]="SOUND00A"
FAT16_OpenFile(FilenameReq)
......
.....some actions with the data from the fat
.......
FilenameReq[8]="SOUND00B" or FilenameReq="SOUND00B" =>
both do not work
FAT16_OpenFile(FilenameReq)
But the the compiler says that this does not work.
So to summarize I want to reuse the variable "FilenameReq" twice (or
more) in the main program with different content(file-names). Or is
this just not possible? This to gain data-mem.
>
> Do you need assistance with reading fat16?
This is fine, I know how it works. Thanks
> PS. there is also a strings library (strings.jal). You may like the
> string_compair procedure.
This one I used to compare the requested filename with the name in the
root of the Fat16
Yorick
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.