~ubuntu-branches/ubuntu/warty/koffice/warty

« back to all changes in this revision

Viewing changes to lib/kscript/example4.ks

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class MyClass
2
 
{
3
 
        MyClass( in this )
4
 
        {
5
 
                print("Constructor");
6
 
                this.a = 100;
7
 
        }
8
 
        print( in this )
9
 
        {
10
 
                print("Output", this.a );
11
 
        }
12
 
        delete( in this )
13
 
        {
14
 
                print("MyClass destructor");
15
 
        }
16
 
        const answer = 42;
17
 
};
18
 
 
19
 
main
20
 
{
21
 
        print("Hallo Welt");
22
 
        m = MyClass();
23
 
        print("Hallo Welt 2");  
24
 
        m.print();
25
 
        print("Hallo Welt 3", m.a );
26
 
        MyClass().print();
27
 
        print( MyClass() );
28
 
}
 
 
b'\\ No newline at end of file'