Differences From Artifact [827dbc8186458d43]:
- File
sample/macro.pmy
- 2010-11-20 14:29:49 - part of checkin [060f267779] on branch trunk - fixed the bug that the first declaration inside a function cannt be recursive: def foo() { def bar() { bar() }; bar() }; foo() # bar cannot be found (user: kinaba) [annotate]
To Artifact [a38c7267da8f14a3]:
- File
sample/macro.pmy
- 2010-11-21 08:18:05 - part of checkin [a5fe6233c1] on branch trunk - layered parameters implemented (user: kinaba) [annotate]
47 47 print(maxNormal(printAndReturn(100),printAndReturn(200)));
48 48 print("--------------");
49 49 print(maxBad(printAndReturn(100),printAndReturn(200)));
50 50 print("--------------");
51 51 print( LetItBe( 1+2+3, it*it ) );
52 52 print("--------------");
53 53 print(pow10(2));
54 -
55 54 };
56 55
57 56 main()