Dear
Keith,
Sorry about the typos in the instructions, this
should be a priority for me as it must be very frustrating. I will have a
check of the lua instructions in the next few days.
I
can see you difficulty with passing file names. This is a know problem from
having two separate lua processes, one in femm and one in femmview. The use of
a temp file to hold the name works but it is messy. Passing parameters should
be easy enough, I feel the best way to go is that I take all extra parameters
passed to femm view (after the data file and the lua script) and place these
on lua's stack. Then the first few lines of lua code in femmview could simply
retrieve from the lua stack and work with them as normal.
The
bitmap updating problem is one that I feared but could not cause on my
computer. I believe the problem is that when an UpdateAllViews() is called
windows marks the display as dirty and when it gets time (ie idling) it sends
on OnDraw() which updates the display. I may have to force OnDraw() to make
sure the display is OK for saving.
I
will also check the file format of the bitmap, it should be a normal windows
type bitmap.
The
Lua bit is still rather experimental but I will do my best to clean it upa
lot !