1 #( |
1 #( |
2 show: 'this little presentation shows, how to find a method when the desired result is known' |
2 language: en |
|
3 intro |
|
4 wait: 0.5 |
|
5 |
|
6 show: 'This short presentation shows, how to find a method when the desired result is known.' |
3 wait: 0.5 |
7 wait: 0.5 |
4 show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".' |
8 show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".' |
5 |
9 wait: 1 |
6 intro |
|
7 |
10 |
8 (unless: ( isEmpty: ReceiverEditor ) do:( |
11 (unless: ( isEmpty: ReceiverEditor ) do:( |
9 (showing: 'you can clear the fields - by pressing the "Clear" button' do:( |
12 (showing: 'You can clear the fields - by pressing the "Clear" button.' do:( |
10 fastMoveTo: ClearButton |
13 fastMoveTo: ClearButton |
11 click |
14 click |
12 )) |
15 )) |
|
16 wait: 0.5 |
13 )) |
17 )) |
14 |
18 |
15 ( showing: 'start by choosing the number of arguments,' do:( |
19 show: 'Let us find out, which code generates 11, given 10 and 1 as operands.' |
|
20 wait: 0.5 |
|
21 |
|
22 ( showing: 'First, choose the number of arguments.' do:( |
16 moveTo: AllowedArguments |
23 moveTo: AllowedArguments |
17 select: '1 argument' |
24 select: '1 argument' |
18 )) |
25 )) |
19 (showing: 'Click into the "receiver" field' do:( |
26 (showing: 'Click into the "receiver" field,' do:( |
20 moveTo: ReceiverEditor |
27 moveTo: ReceiverEditor |
21 click |
28 click |
22 )) |
29 )) |
23 wait: 0.5 |
30 wait: 0.5 |
24 (showing: 'Enter a value (or expression) into "receiver" field' do:( |
31 (showing: 'and enter a value (or expression).' do:( |
25 type: '10' |
32 type: '10' |
26 )) |
33 )) |
27 wait: 0.5 |
34 wait: 0.5 |
28 (showing: 'Click into the "first argument" field' do:( |
35 (showing: 'Click into the "first argument" field,' do:( |
29 moveTo: Arg1Editor |
36 moveTo: Arg1Editor |
30 click |
37 click |
31 )) |
38 )) |
32 wait: 0.5 |
39 wait: 0.5 |
33 (showing: 'and enter a value for the argument' do:( |
40 (showing: 'and enter a value for the argument.' do:( |
34 type: '1' |
41 type: '1' |
35 )) |
42 )) |
36 wait: 0.5 |
43 wait: 0.5 |
37 (showing: 'Click into the "answer" field' do:( |
44 (showing: 'Click into the "answer" field,' do:( |
38 fastMoveTo: AnswerEditor |
45 fastMoveTo: AnswerEditor |
39 click |
46 click |
40 )) |
47 )) |
41 (showing: 'Enter the expected result value into the "answer" field' do:( |
48 (showing: 'and enter the expected result into the "answer" field.' do:( |
42 type: '11' |
49 type: '11' |
43 )) |
50 )) |
44 wait: 0.5 |
51 wait: 0.5 |
45 (showing: 'and finally, Click on the "search" button' do:( |
52 (showing: 'Finally, click on the "Search" button.' do:( |
46 fastMoveTo: SearchButton |
53 fastMoveTo: SearchButton |
47 click |
54 click |
48 )) |
55 )) |
49 show: 'now, the finder searches for combinations that produce the desired result' |
56 wait: 0.5 |
|
57 show: 'Now, the finder searched for combinations which produce the desired result,' |
50 fastMoveTo: ResultList |
58 fastMoveTo: ResultList |
51 show: 'and present code which would produce it in the answer list below' |
59 show: 'and presents code in the answer list below.' |
52 show: 'if you select any item there,' |
60 wait: 1 |
|
61 show: 'If you select any item there,' |
53 wait: 0.5 |
62 wait: 0.5 |
54 selectIndex: 2 |
63 selectIndex: 2 |
55 wait: 0.5 |
64 wait: 0.5 |
56 fastMoveTo: ImplementorsList |
65 fastMoveTo: ImplementorsList |
57 show: 'the implementations will be shown in the top right implementor list' |
66 show: 'the implementations will be shown in the top right implementor list.' |
58 show: 'if you select any item there,' |
67 wait: 0.5 |
|
68 show: 'If you select any item there,' |
59 selectIndex: 1 |
69 selectIndex: 1 |
60 wait: 0.5 |
70 wait: 0.5 |
61 show: 'the implementation is shown in the bottom code editor' |
71 show: 'the implementation is shown in the code editor at the bottom.' |
62 fastMoveTo: CodeView |
72 moveTo: CodeView |
63 wait: 0.5 |
73 wait: 0.5 |
64 show: 'Thank you for watching, indeed' |
74 show: 'Thank you for watching, indeed' |
65 ) |
75 ) |
66 |
76 |
67 "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger" |
77 "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger" |