<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE></STYLE>
</HEAD>
<BODY bgColor="#ffffff">
<DIV><FONT face="Arial" size="2">Hi.</FONT></DIV>
<DIV><FONT face="Arial" size="2"></FONT> </DIV>
<DIV><FONT face="Arial" size="2">I created a program for creating sudoku
problems</FONT></DIV>
<DIV><FONT face="Arial" size="2">in html table and it works as expected when top
level function</FONT></DIV>
<DIV><FONT face="Arial" size="2">is called from Emacs, always creates a new
table.</FONT></DIV>
<DIV><FONT face="Arial" size="2">I created executable program
with:</FONT></DIV>
<DIV><FONT face="Arial" size="2"> (save-application "c:/sudoku.exe"
:toplevel-function #'start :prepend-kernel t)</FONT></DIV>
<DIV><FONT face="Arial" size="2">and when called sudoku.exe it always returns
the same table,</FONT></DIV>
<DIV><FONT face="Arial" size="2">like the #'start function is called once upon
creation and that's it.</FONT></DIV>
<DIV><FONT face="Arial" size="2">So I made a test program like this:</FONT></DIV>
<DIV><FONT face="Arial" size="2">(defun start ()</FONT></DIV>
<DIV><FONT face="Arial" size="2"> (print (random
10)))</FONT></DIV>
<DIV><FONT face="Arial" size="2">When called from Emacs it works ok.</FONT></DIV>
<DIV><FONT face="Arial" size="2">I created executable with:</FONT></DIV>
<DIV><FONT face="Arial" size="2"> (save-application "c:/test.exe"
:toplevel-function #'start :prepend-kernel t)</FONT></DIV>
<DIV><FONT face="Arial" size="2">and when called from dos prompt it always returns
the same number</FONT></DIV>
<DIV><FONT face="Arial" size="2">again like function #'statrt is called once upon
creation of executable.</FONT></DIV>
<DIV><FONT face="Arial" size="2">Where is the problem ?</FONT></DIV>
<DIV><FONT face="Arial" size="2"></FONT> </DIV>
<DIV><FONT face="Arial" size="2">Thanks</FONT></DIV></BODY></HTML>