File: kosui.html

package info (click to toggle)
kawari8 8.2.8-12.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,992 kB
  • sloc: cpp: 10,933; ruby: 90; sh: 29; makefile: 17
file content (592 lines) | stat: -rw-r--r-- 18,514 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<HTML lang="ja">
<HEAD>
 <META http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
 <META http-equiv="Content-Script-Type" content="text/javascript">
 <META http-equiv="Content-Style-Type" content="text/css">
 <LINK rel="stylesheet" type="text/css" href="kawari.css">
 <TITLE>ؘa K}jA</TITLE>
<STYLE type="text/css">
  <!--
TR.gb{ background: lightgrey; }
   -->
</STYLE>
</HEAD>
<BODY>

<H1>vO}uAIW[ "ؘa" K}jA</H1>

<DIV align="right">
  <P>
    2008/01/26<BR>
    Phase 8.2.5
  </P><P>
    ؘaJ`[ :<BR>
    NAKAUE.T (Meister), UMeister (T), Ɓ[, , ̂ɂ
  </P>
</DIV>

<H2>Index</H2>

<A href="index.html" class="toindex"> back</A>
<BR>

<BLOCKQUOTE>
<A href="#youto">1. pr</A><BR>
<A href="#howtoboot">2. N@</A><BR>
@<A href="#options">2.1. R}hCIvV</A><BR>
@<A href="#interpretermode">2.2. C^[v^[h</A><BR>
@<A href="#debuggermode">2.3. fobK[h</A><BR>
@<A href="#quietmode">2.4. quiet[h</A><BR>
<A href="#operation">3. @</A><BR>
@<A href="#echomode">3.1. echo[h</A><BR>
@<A href="#commandmode">3.2. command[h</A><BR>
<A href="#quit">4. I@</A><BR>
<A href="#howtouse">5. KgfobO̎wj</A><BR>
@<A href="#grammer">5.1. @G[̃fobO</A><BR>
@<A href="#runtime">5.2. sG[̃fobO</A><BR>
@<A href="#algorithm">5.3. ASỸfobO</A><BR>
</BLOCKQUOTE>

<A name="youto"></A>
<H2>1. pr</H2>

<P>
"K()"̓R\[œ삷ؘaC^[v^łB
ғ̃S[Xgؘ̉aƐڑAfobOƂsƂo܂B
</P>


<A name="howtoboot"></A>
<H2>2. N@</H2>

<P>
 <SPAN id="type">"kosui.exe"</SPAN>_uNbN邩A
 <SPAN id="type">"kosui.exe"</SPAN>݂̑tH_
 R\[JA<SPAN id="type">"kosui.exe"</SPAN>Ɠ͂ƋN܂B
</P>

<P>
̎Aғ̃S[Xg邩ǂɂāA
K̓͑傫uC^[v^[hvƁA
ufobK[hv̓‚ɕ܂B
</P>


<A name="options"></A>
<H3>2.1. R}hCIvV</H3>

<P>
 K͈ȉ̃R}hCIvV󂯕t܂B
 DOS̋NȂǂɎw肵ĂB
</P>

<DIV class="syntax">
 kosui [--event|-e Cxg] [--norc] [--quiet] [&lt;rcfile&gt;]
</DIV>

<DIV style="margin: 1ex 10% 1ex 10%;">
 <TABLE border="0" cellpadding="0" cellspacing="0">
  <TR>
   <TD style="width: 12em">--event / -e Cxg</TD>
   <TD>fobK[hŁAS[Xg֒ʒmۂ̃CxgύXB</TD>
  </TR>
  <TR>
   <TD>--norc</TD>
   <TD>kawarirc.kisǂݍ܂ȂB</TD>
  </TR>
  <TR>
   <TD>--quiet</TD>
   <TD>quiet[hŁAt@Cǂݍ񂾌ɒɏIB</TD>
  </TR>
  <TR>
   <TD>&lt;rcfile&gt;</TD>
   <TD>
    t@Cw肷邱ƂɂA
    kawarirc.kis̑ɂ̃t@Ct@CƂēǂݍށB
   </TD>
  </TR>
 </TABLE>
</DIV>

<A name="interpretermode"></A>
<H3>2.2. C^[v^[h</H3>

<P>
 ғ̃S[Xg‚ȂꍇAK̓C^[v^[hŋN܂B
 C^[v^[hł́AKɓꂽؘaW[gp܂B
 ܂Aғ̃S[XgꍇłA
 NɐڑS[XgƂ0ԂIԂƃC^[v^[hŋN܂B
</P>

<P>
 C^[v^[hŋNƁA
 K<SPAN id="type">"kosui.exe"</SPAN>݂tH_
 <SPAN id="type">kawarirc.kis</SPAN>ʏʂɓǂݍ񂾌A
 L[͂󂯕tԂɂȂ܂B
</P>

<A name="debuggermode"></A>
<H3>2.3. fobK[h</H3>

<P>
 ғ̃S[XgꍇAK̓fobK[hŋN܂B
 fobK[hł́A
K̓S[Xgɑ΂Direct SSTPgCxgʒmɂĕ͂𑗂܂B
 ftHgŒʒmłCxǵuShioriEchovłA
 ÑIvVɁu<SPAN id="tt">kosui -e Cxg</SPAN>vA
́u<SPAN id="tt">kosui --event Cxg</SPAN>vƂ邱ƂɂA
 Cӂ̃CxgŒʒm邱Ƃł܂B
</P>

<P>
 ғ̃S[XgؘaS[XgŁA
 udebugger onvsĂꍇAK͏L̃Cxg𗘗pāA
 ̃S[Xgؘ̉aW[Ɛڑ܂B
 ڑƁAK͉ғ̃S[Xg𑀍삷邱Ƃo܂B
</P><P>
 ftHǵuShioriEchovgĂꍇA
 ShioriEchoCxgɑΉGgLqKv͂܂B
 ̑̃CxgpĂꍇ́AΉGgLqĂB
</P>

<A name="quietmode"></A>
<H3>2.4. quiet[h</H3>

<P>
 ̃[h͓ȃ[hłB R}hCIvVŁA
 u<SPAN id="tt">kosui --quiet</SPAN>vƎw肷邱Ƃł̃[hɓ܂B
</P>

<P>
 quiet[h́AC^v^[hƓ悤
 KɓꂽؘaW[gpċN܂B
 t@C(Wł<SPAN id="type">kawarirc.kis</SPAN>)ǂݍ񂾌A
 ɏI܂BؘaSAORI BasicƂĎgpꍇA
 CGIƂĎgpꍇɎg܂B
</P>

<A name="operation"></A>
<H2>3. @</H2>

<P>
C^[v^[hAfobK[ĥǂłAK̑@͋ʂłB
L[{[h當͂͂AŌENTERL[Ɠ͂͂]܂B
͂]ʂ́AC^[v^[h̏ꍇ̓R\[ɁA
fobK[h̏ꍇ̓S[Xg̃o[ɕ\܂B
</P>

<P>
u.[ENTER]vƓ͂ƁAK͓̓[h؂ւ܂B̓[h2ނA
uecho[hvƁucommand[hv܂BR\[̈ԉ̕\s
</P>
<DIV class="sample">
  echo-mode &gt;
</DIV>
<P>
 ̏ꍇecho[hA
</P>
<DIV class="sample">
  command-mode &gt;
</DIV>
<P>
 ̏ꍇcommand[hłBÑ[hecho[hłB
</P>


<A name="echomode"></A>
<H3>echo[h</H3>

<P>
echo[hł́AK͓͂ꂽ͂̂܂ܕ]܂B
͒${npw}̃GgĂяoA
$(set A "TEST")̃CCXNvgꍇA߂܂B
</P>
<DIV class="sample">
  echo-mode &gt; \0${A}A${myname}łB\1낵ȁB\e$(set Boot 1)
</DIV>


<A name="commandmode"></A>
<H3>command[h</H3>

<P>
command[h̓CCXNvg̕]ɓ[hłB
K͓͂ꂽ͂̑OɁA"$("")"tĂ]܂BႦ΁A
<DIV class="sample">
  command-mode &gt; adddict npw "܂"
</DIV>
Ɠ͂ƁAu$(adddict npw "܂")vƂ]܂B
</P>


<A name="quit"></A>
<H2>4. I@</H2>

<P>
echo[hAcommand[ĥǂłA
uexit[ENTER]vƓ͂ƍKI邱Ƃo܂B
</P>

<A name="howtouse"></A>
<H2>5. KgfobO̎wj</H2>

<P>
KpfobÓA傫3iKɕ܂B
K̎菇ɏ]Kv͂܂񂪁AI菇ƍl܂B
QlɂĂ
</P>

<OL>
<LI><A href="#grammer">@G[fobO̒iK</A></LI>
<LI><A href="#runtime">sG[fobO̒iK</A></LI>
<LI><A href="#algorithm">ASYfobO̒iK</A></LI>
</OL>

<P>
ł́AeiKł̃fobO菇Љ܂B
</P>

<A name="grammer"></A>
<H3>5.1. @G[̃fobO</H3>

<P>
܂A@IG[̌os܂B
ƂāÂ悤ȃt@C̃fobOs܂B
ɁAt@Ću<SPAN class="tt">test.kis</SPAN>vƂĘbi߂܂B
</P>

<DIV class="sample">
  # test.kis<BR>
  <BR>
  {ꈥA : ɂ<BR>
  pꈥA : Hello.<BR>
  npw : ߎIl,Քni,V<BR>
  <BR>
  # ݂ȂR}hĎg<BR>
  test1 : $(<EM>copu</EM> npw npw.backup)<BR>
  <BR>
  # [hႤ<BR>
  <EM>get npw;</EM><BR>
  <BR>
  # ʂ̑Ή<BR>
  test2 : pł́Au${{ꈥA}v́u${pꈥA<EM>)</EM>vłB<BR>
  <BR>
  =kis<BR>
  # ʂ̑ΉāAȏŃG[o<BR>
  function test3 $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;if $[ ${today} != ${birthday} ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if $[ ${bootcount} &gt;= 10 ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo \0\s[5]aA߂łƂ܂I;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<EM>#)</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;) else $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo \0\s[4]caA܂ɂ͂‚ĂȂB\e;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;)<BR>
  );<BR>
  =end<BR>
</DIV>

<P>
̃t@CKœǂݍ݂܂B
̍ہAOxuerrorvƁuwarningvɐݒ肵܂B
OSWin9xnŃOčꍇ́AKȃOt@Cɏo͂܂B
</P>

<DIV class="sample">
  R}hCł̓:<BR>
  command-mode &gt; loglevel error warning<BR>
  command-mode &gt; logfile debug.log<BR>
  command-mode &gt; load test.kis<BR>
</DIV>

<P>
ƁAOt@C<SPAN class="tt">debug.log</SPAN>ɁA
̂悤ȓeo͂ĂƎv܂B
</P>

<DIV class="sample">
  .\test.kis 9: error: ':' not found.<BR>
  .\test.kis 9: error: ':' not found.<BR>
  .\test.kis 9: error: could not find EntryId at start of entry definition.<BR>
  .\test.kis 9: error: no entry names.<BR>
  .\test.kis 12: error: '}' not found. runaway entry call?<BR>
  .\test.kis 12: error: could not find statement list separator ','.<BR>
  .\test.kis 25: error: ')' not found. runaway script?<BR>
</DIV>

<P>
G[̓eĂ݂܂傤B
<A href="errormes.html">G[bZ[Wꗗ</A>QƂȂ猩ĉB
܂A9sڂŁu":"vAuGgvƂG[oĂ܂B
9sڂƁA{ȂXNvgLq][ŏׂR}hA
Lq][ŏĂ܂B̂߁AR}hGgƌāA
u":"vƂG[oĂ܂BłA9sڂ
</P>

<DIV class="sample">
  <EM>=kis</EM><BR>
  get npw;<BR>
  <EM>=end</EM><BR>
</DIV>

<P>
̂悤ɏƁA9sڂ̃G[͉܂B
</P>

<P>
ɁA12sڂ̃G[bZ[W܂B
u"}"vȃG[łB悭ƁA
12sڂ́u<SPAN class="tt">${pꈥA}</SPAN>vƂׂA
u<SPAN class="tt">${pꈥA)</SPAN>vƁAԈʂĂ܂B
C12sڂ̃G[͉łB
</P>

<P>ŌɁA25sڂ̃G[܂B
u")"vƂG[łBA25sڂƊʂ͂܂B
悭ƁA21sڂł킴ƊʂRgAEgĂ܂B
̂߁Aʂ̑ΉƂꂸAԍŌ̊ʂŃG[oĂłB
</P><P>
̂悤ɁAʂ̑ΉG[́ALqԈႢ̂Ƃ͈Ⴄ
G[o邱Ƃ܂B
ʂ̑ΉAG[̏oӏOɑkĊm߂ĂB
Ƃ́Ał͂ȂGfB^gƂE߂܂B
AvO[hAʂ̑ΉGfB^m߂Ă܂B
</P>

<P>
ȏ܂łŕ@fobȌIXNvgfڂ܂B
ÃXNvǵA܂sG[cĂ܂B
sG[̃fobÓA̐߂ʼn܂B
</P>

<DIV class="sample">
  # test.kis(@G[C)<BR>
  <BR>
  {ꈥA : ɂ<BR>
  pꈥA : Hello.<BR>
  npw : ߎIl,Քni,V<BR>
  <BR>
  # ݂ȂR}hĎg<BR>
  test1 : $(<EM>copu</EM> npw npw.backup)<BR>
  <BR>
  # [hႤ<BR>
  <EM>=kis</EM><BR>
  get npw;<BR>
  <EM>=end</EM><BR>
  <BR>
  # ʂ̑Ή<BR>
  test2 : pł́Au${{ꈥA}v́u${pꈥA<EM>}</EM>vłB<BR>
  <BR>
  =kis<BR>
  # ʂ̑ΉāAȏŃG[o<BR>
  function test3 $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;if $[ ${today} != ${birthday} ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if $[ ${bootcount} &gt;= 10 ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo \0\s[5]aA߂łƂ܂I;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<EM>)</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;) else $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo \0\s[4]caA܂ɂ͂‚ĂȂB\e;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;)<BR>
  );<BR>
  =end<BR>
</DIV>

<P>
@G[fobO̐߂̏IɁAƒAhoCX܂B
G[ӏCA̓sxt@CɕۑčKŃ`FbNĉB
ƒG[ӏ𒼂ƁÂƂ̃G[\Iɏ邱Ƃ悭܂B
</P><P>
́Aؘat@CǂݍލہAt@C̐擪ǂݍނ߁A
ӏ͂̉߂ł‚܂ÂƁÂƂ̉߂ׂ͂Ăׂ̌łB
́Ap̖|ő㖼wlԈႦƁA
̂Ƃ͂̕Œꒃȉ߂ɂȂ̂ƓƂłB
</P><P>
܂A^킵ŜxRgAEgA
XɃRgAEg͈̔͂ςāA
ǂŃG[邩i荞ޕ@LłB
</P><P>
ؘa͐lԂƔׂĔɋ𒼂ŁAu͂ǂɌv炤vƂo܂B
C悭G[𒼂ĂB
</P>

<A name="runtime"></A>
<H3>5.2. sG[̃fobO</H3>

<P>
āAsG[̃fobOɈڂ܂B
GR[[hŁÂ悤ɓ͂ĉB
</P>

<DIV class="sample">
  echo-mode &gt; ${test1}<BR>
</DIV>

<P>
́Atest1GgĂяoĂ܂B
ƁÂ悤ȃG[bZ[Wo锤łB
</P>

<DIV class="sample">
  undefined function "copu" called.<BR>
</DIV>

<P>
u"copu"Ƃ`ĂȂ֐Ă΂ꂽvƌĂ܂B
mtest1GgƁA
<SPAN class="tt">copu</SPAN>ƂR}hĂł܂B
Œ`ȂÃR}h݂͑܂B
</P><P>
̂悤ɁAR}h̃^Cv~X́A
ۂɓĂ݂ȂƁAG[𔭌łȂꍇ܂B
@fobOAvȃGgE[U`R}h
ۂɌĂł݂āAsG[NȂm߂܂B
</P><P>
ɁAGg̃^Cv~XŁA
ۂɂ݂͑ȂGgĂłꍇ悭܂B
mׂɂ́A
</P>

<DIV class="sample">
  loglevel error warning <EM>decl</EM><BR>
</DIV>

<P>
̂悤ɁA
OxݒɁu<SPAN class="tt">decl</SPAN>vlj܂B
̏ԂŁA`ĂȂGguhogevGgĂяoƁA
</P>

<DIV class="sample">
  read access to empty entry 'hoge'<BR>
</DIV>

<P>
̂悤ɁAũGgĂяovƒʒmĂ܂B
ȂA<SPAN class="tt">entry</SPAN>R}hŋ̃GgĂ񂾏ꍇA
ʒmȂ̂ŒӂĂB
</P>

<P>
ȏ̍ƂJԂăG[\oȂȂ΁A
sG[ǕłƂɂȂ܂B
</P>

<A name="algorithm"></A>
<H3>5.3. ASỸfobO</H3>

<P>
́Aꂩ炪{̈Ӗł̃fobOłB
ʂ̌tłA@Î͖ɁA؂̒ʂȂ͂͊ł܂B
܂Ae͐ĂAۂɋNȂԂOƂĂ邽߁A
IɈӖȂȂ͂ǂ܂B
XNvgɂ܂Ƃ܂B
</P><P>
vO̐Eł́AvO̗̍iuASYvƌĂт܂B
S[Xg̃fobOłAŌ͂ASỸfobOKvłB
Ⴆ΁A
<SPAN class="tt">Reference</SPAN>K3‚邱Ƃz肵R}h́A
4–ڂ<SPAN class="tt">Reference</SPAN>ꍇA
肱ڂ܂B
܂A
̑召rŁu&lt;vƁu&gt;vԈႦĂA
@Iɂ͂܂XNvgłB
</P><P>
ASỸfobOŗLȕ@A2Љ܂B
ǂʂ̃vÕfobOŁAʓIȕ@łB
</P>

<H4>printffobO</H4>

<P>
̕@́A
XNvg̐<SPAN class="tt">logprint</SPAN>}A
XNvg̗̃L[ƂȂGg̓eAOɋL^@łB
C<SPAN class="tt">printf</SPAN>֐pĂ悭sƂA
̖O܂B
</P><P>
Ⴆ΁A
</P>

<DIV class="sample">
  reply.OnMinuteChange : $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;if $[ $(date %M) == ${timer} ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entry sentence.timer;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;);<BR>
  &nbsp;&nbsp;)<BR>
</DIV>

<P>
̂悤ȃXNvgl܂B
̃XNvg͎w莞ɂȂ甭b邱ƂӐ}Ă܂A
鎞w肵ꍇAbȂƂ܂B
<SPAN class="tt">printf</SPAN>fobO邽߁A
̂悤ɏ܂B
lu#vŋł܂A
̓Oŋ邽߂ŁAɋLɈӖ͂܂B
</P>

<DIV class="sample">
  reply.OnMinuteChange : $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;<EM>logprint #$(date %M)#;</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;<EM>logprint #${timer}#;</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;<EM>logprint #$[ $(date %M) == ${timer} ]#;</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;if $[ $(date %M) == ${timer} ] $(<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<EM>#</EM>entry sentence.timer;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<EM>setstr @temp $(entry sentence.timer);<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logprint #${@temp}#;<BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo ${@temp};</EM><BR>
  &nbsp;&nbsp;&nbsp;&nbsp;);<BR>
  &nbsp;&nbsp;)<BR>
</DIV>

<P>
̃XNvg̏ꍇA
</P>
<UL>
  <LI></LI>
  <LI>be</LI>
</UL>
<P>
2ʂ̌l܂B
ŁAƃGg̗Oɏo͂Ă܂B
܂A
<SPAN class="tt">sentence.timer</SPAN>Gg𕡐ĂŏԂςȂ悤A
x<SPAN class="tt">@temp</SPAN>Gg<SPAN class="tt">setstr</SPAN>őA
ꂩ烍OɏóA߂lƂďo͂sĂ܂B
</P><P>
<SPAN class="tt">printf</SPAN>fobO͔rIώGłA
Gg̓mɓ܂B
AԂ𓾂邱ƂŏԂςĂ܂Ȃ悤A
ӂKv܂B
܂AfobOR[hcĂƁAt@CTCY܂B
S[Xg̃[X̍ہA
lbg[NXVfׁAmɃfobOR[h悤A
ӂ𕥂Kv܂B
</P>

<H4>fobKɂfobO</H4>

<P>
̃fobO@́AKfobK[hŋNāA
ۂɃS[XgĂԂōs܂B
قǂ̃XNvgfobO邱ƂlƁA
echo[h
</P>

<DIV class="sample">
  echo-mode &gt; $[ $(date %M) == ${timer} ]<BR>
</DIV>

<P>
ȂǁA
قǂ<SPAN class="tt">printf</SPAN>fobOŃOɏo͂eA
o[ɏo͂@łB
</P><P>
̕@́AXNvgKv_傫ȃbgłB
ʁAԂɈˑ̃fobOł́A
傤ǂuԂɃGg̓e𒲂ׂ邱ƂA̂_łB
</P>

</BODY>
</HTML>