There are commands to take the frames apart. FMSLOGO can certainly call those commands using SHELL. Here is one: https://github.com/kohler/gifsicle https://www.lcdf.org/gifsicle/ Gifsicle manipulates GIF image files. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency; add delays, disposals, and looping to animations; add and remove...
There are commands to take the frames apart. FMSLOGO can certainly call those commands using SHELL. Here is one: https://github.com/kohler/gifsicle Gifsicle manipulates GIF image files. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency; add delays, disposals, and looping to animations; add and remove comments; flip and rotate; optimize...
This is a list that never ends: [pd to square :x output product :x :x end to sum_of_squares :x :y output sum suare :x square :y end A list starts with "[" and ends with "]" The first word in that list is pd Therefor FMSLogo interprets all those words as data, and the definitions of square and sum_of_squares are never discovered. What did you expect FMSLogo to do?
Also noticed that the equivalent error message for BMPs is very different: bitsave "gifsNewlyGenerated/PRN.bmp Could not open .bmp I guess it means "Could not open for writing". But the error is kinda misleading in that it seems to want to open a file that is not even created yet.
Saving gif image to PRN.gif
Thanks David, Very much appreciate the time you've spent tracking this bug down. I'm going to start using the attached pre-release version. It loaded LogoFE normally (no issues there) and I ran a few commands that I thought might have some interplay with nested APPLYs, and so far so good. I'll keep you posted if something related to this issue comes up again.
A parte de PSeInt y FMSLogo qué otros lenguajes de programación EN ESPAÑOL valen la pena?
Thanks David, Sure: El programa que se ejecuta actualmente está pausado. Cuando FMSLogo está pausado puedes ejecutar cualquier instrucción que quieras, incluidas las instrucciones para inspeccionar los valores de las variables locales, reanudar la ejecución, o detener el programa por completo. Ejecutar Reanudar la ejecución justo después de la instrucción PAUSA Sigue