home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Add-Ons
/
BBEdit
/
MacBob 1.0ß2
/
Examples
/
Trace.bob
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-12-12
|
266 b
|
21 lines
|
[
TEXT/R*ch
]
class Foo {
a, b; get_a();
}
Foo::Foo () { a = 123; return this; }
Foo::get_a () { return a; }
main ( ; s1)
{
s1 = "Hello";
s1 += ',';
trace(1);
s2 = ' ';
s2 += "World!";
s2 += ' ';
trace(0);
stdout << s1 << s2 << "\n";
f = new Foo();
print(f.get_a());
}