Oberon Community Platform Forum
December 14, 2019, 05:20:11 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: DEFINITION undefined ?  (Read 2716 times)
masta
Newbie
*
Posts: 19


empamedia.ethz.ch


« on: September 09, 2008, 01:08:46 PM »

I can compile and run the following module, but when uncommenting the part with DEFINITION keyword, compiler runs through, but when running, the following message appears:
"WMTextView: Command execution error, res: 3403 (Dummy.Obw corrupt)"


MODULE Dummy; (** AUTHOR ""; PURPOSE ""; *)

IMPORT KernelLog,Commands;
(*
DEFINITION gugus;
END gugus;
*)
PROCEDURE hello*(context: Commands.Context);
VAR c: ARRAY 255 OF CHAR;
BEGIN
      KernelLog.String("Hello from dummy");
      KernelLog.Ln;
      context.arg.Ln(c);
      KernelLog.String(c);
      
END hello;


BEGIN   
END Dummy.


Dummy.hello dummy~

SystemTools.Free Dummy~
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!