lotus



previous page: B08) Error in v1.4/basicsystemenv.bet?
  
page up: BETA Programming Language FAQ
  
next page: M01) What are the system requirements to run BETA on Macintosh?

B09) Why does my guienvsystemenv program stop at startup?




Description

This article is from the FAQ, by with numerous contributions by others.

B09) Why does my guienvsystemenv program stop at startup?

Possible problems in your program:

* Your program was not a specialisation of systemenv
* You did not set theWindowEnv to the guienv instance in setWindowEnv
* Your program forks in the dopart of guienv. You should fork systems in
the dopart of systemenv. This might change in a future release

Your program should look like this:

-- program: descriptor --
systemenv
(# setWindowEnv:: (# GUI[] -> theWindowEnv[] #);
 
   GUI: @guienv
     (#
     do ... (* open windows here *)
     #);
do ... (* fork systems here *)
#)



 

Continue to:















TOP
previous page: B08) Error in v1.4/basicsystemenv.bet?
  
page up: BETA Programming Language FAQ
  
next page: M01) What are the system requirements to run BETA on Macintosh?