吉里吉里2 Ver2.32r2に付属のドキュメント追加
This commit is contained in:
104
docs/tjs2doc/contents/style.html
Normal file
104
docs/tjs2doc/contents/style.html
Normal file
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="Shift_JIS"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
|
||||
<!-- generated by to_html.pl from style.xml -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
|
||||
<title>�X�^�C���Ȃ�</title>
|
||||
<meta name="author" content="W.Dee" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<link href="browser.css" type="text/css" rel="stylesheet" title="�g���g���֘A���t�@�����X�p�W���X�^�C��" />
|
||||
<link href="mailto:[email protected]" rev="Made" />
|
||||
<link href="index.html" target="_top" rel="Start" title="�g�b�v�y�[�W" />
|
||||
</head>
|
||||
<body>
|
||||
<h1><a id="id349" name="id349">�X�^�C���Ȃ�</a>
|
||||
</h1><div class="para"><div>
|
||||
�@TJS2 �́A�X�^�C���Ƃ��Ă� C �����̗��������ތ����ł��B�ꕶ�����s�ŏI���� BASIC ���ƈႢ�A�������͊��{�I�Ɂu�t���[�X�^�C���v�ł��B<br />
|
||||
<br />
|
||||
�@�������AJavaScript �̂悤�Ɉꕶ�����s�ŏI���点�邱�Ƃ͂ł��܂����B<br />
|
||||
</div></div>
|
||||
<h1><a id="id350" name="id350">�t���[�X�^�C��</a>
|
||||
</h1><div class="para"><div>
|
||||
�@���s���X�y�[�X�A�^�u���A���ʂɁu<a id="id351" name="id351" class="targanchor"><dfn>�z���C�g�X�y�[�X</dfn></a>�v�ƌĂ��镶���́A�Ӗ����������Ȃ��Ȃ����ǂ��ɂł������鎖���ł��܂��B�܂��A�Ӗ����������Ȃ��Ȃ��Ȃ��悤�ɓK�X�}�����Ȃ����Ȃ��܂����B<br />
|
||||
|
||||
<br />
|
||||
<code class="bq"><span class="weak">��:</span><br />(1)<br />
|
||||
function func(a,b) { a++; return a+b; }<br />
|
||||
<br />
|
||||
(2)<br />
|
||||
function func(a,b) {<br />
|
||||
a++;<br />
|
||||
return a+b;<br />
|
||||
}<br />
|
||||
<br />
|
||||
(3)<br />
|
||||
function func(a,b)<br />
|
||||
{<br />
|
||||
a++;<br />
|
||||
return a+b;<br />
|
||||
}<br />
|
||||
<br />
|
||||
(4)<br />
|
||||
function<br />
|
||||
func<br />
|
||||
(<br />
|
||||
a<br />
|
||||
,<br />
|
||||
b<br />
|
||||
)<br />
|
||||
{<br />
|
||||
a<br />
|
||||
++<br />
|
||||
;<br />
|
||||
return<br />
|
||||
a<br />
|
||||
+<br />
|
||||
b<br />
|
||||
;<br />
|
||||
}<br />
|
||||
<br />
|
||||
(5)<br />
|
||||
functionfunc(a,b){a++;returna+b;}<br />
|
||||
<br />
|
||||
(6)<br />
|
||||
f unction fu nc(a,b)<br />
|
||||
{<br />
|
||||
a+ +;<br />
|
||||
<br />
|
||||
ret urn a+b;<br />
|
||||
}<br />
|
||||
</code>
|
||||
<br />
|
||||
|
||||
<br />
|
||||
�@�������́A(1) �` (4) �͂��ׂē����Ӗ��ł��B�������A�ǂ݂₷���̓_���� (2) �܂��� (3) �𐄏����܂��B<br />
|
||||
�@(5) �́A�X�y�[�X�����ꂸ�ɏ��������̂ł����A���̂悤�ɂ����ƕ������Ȃ����Ă��܂��A�����ɉ��߂����܂����B<br />
|
||||
�@(6) �́A�X�y�[�X���������ׂ����łȂ��Ƃ����ɃX�y�[�X�������Ă��܂��܂��̂ŃG���[�ɂȂ��܂��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id352" name="id352">�R�����g</a>
|
||||
</h1><div class="para"><div>
|
||||
�@<code class="inlinecode">/*</code> �� <code class="inlinecode">*/</code> �ň͂܂ꂽ�����́A�R�����g�Ƃ��Ĉ������A���߂����܂����B�R�����g�̓l�X�g ( �����q�� ) �ł��܂��B<br />
|
||||
�@���l�ɁA ���s�̂����A<code class="inlinecode">//</code> �ȍ~�̕������R�����g�Ƃ��Ĉ������܂��B<br />
|
||||
<br />
|
||||
|
||||
<br />
|
||||
<code class="bq"><span class="weak">��:</span><br /> function example(a,b,c)<br />
|
||||
{<br />
|
||||
return a*b/c; <span class="comment">// a*b/c ���Ԃ�</span><br />
|
||||
}<br />
|
||||
<br />
|
||||
<span class="comment">/*<br />
|
||||
���̂悤�ɃR�����g���������Ƃ��ł��܂�<br />
|
||||
<span class="comment">/* �R�����g�̃l�X�g�͉\�ɂȂ��Ă��܂� */</span><br />
|
||||
*/</span><br />
|
||||
</code>
|
||||
<br />
|
||||
|
||||
</div></div>
|
||||
<script type="text/javascript" charset="Shift_JIS" src="documentid.js" ></script>
|
||||
<script type="text/javascript" charset="Shift_JIS" src="postcontent.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user