[Home]History of Foreign Wizards

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 2 . . June 26, 2008 1:07 pm by KennethLerman [Added more notes.]
Revision 1 . . June 26, 2008 12:55 pm by KennethLerman [Define the use of foreign wizards (first cut)]
  

Difference (from prior major revision) (no other diffs)

Added: 20a21,26

Note: It is necessary to have the line calling the wizard contain the argument list so that when editing the line, the wizard display can be populated with the present value of the parameters. Values can then be changed and the wizard executed again to generate the new subroutine.

Note: The framework will generate the new wizard with an extension of .new. It will then rename the old wizard with an extension of .old. Finally it will rename the .new file to the final name.


Note: The user may invoke the same wizard in multiple places by copying the invocation line. If one of them is changed, that will cause the wizard to be regenerated. We need to do something to cause the changed one to have a new suffix. It is not clear how to assign suffices in such a way that they will be different when we want them to be. Each application should be in its own directory. One effective way might be to hash the argument string and make that part of the file name. (Or, we could just append all of the arguments as part of the name.) -- That would either require a change to the interpreter, or require that the subroutine name include all of the arguments (or the hash).

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Search:
Published under a Creative Commons License