+++ /dev/null
-<!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">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>Ring 1.4 の変更履歴 — プログラミング言語 Ring 1.12 取扱説明書</title>
-
- <link rel="stylesheet" href="_static/bootstrap-astropy.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: './',
- VERSION: '1.12',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/translations.js"></script>
- <link rel="top" title="プログラミング言語 Ring 1.12 取扱説明書" href="index.html" />
- <link rel="next" title="Ring 1.3 の変更履歴" href="whatisnew3.html" />
- <link rel="prev" title="Ring 1.5 の変更履歴" href="whatisnew5.html" />
- <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
-
- </head>
- <body role="document">
-<div class="topbar">
- <a class="brand" title="Documentation Home" href="index.html"><span id="logotext1">🍩Ring</span><span id="logotext2"> 1.12</span><span id="logotext3">:docs</span></a>
- <ul>
-
- <li><a href="http://ring-lang.sourceforge.net/news.html">News</a></li>
- <li><a href="http://ring-lang.sourceforge.net/download.html">Download</a></li>
- <li><a href="https://groups.google.com/forum/#!forum/ring-lang">Get Help</a></li>
- <li><a href="https://github.com/ring-lang/ring">Contribute</a></li>
- <li><a href="http://ring-lang.sourceforge.net/resources.html">Resources</a></li>
- <li><a href="http://ring-lang.sourceforge.net/team.html">Team</a></li>
-
- <li><a title="Ring Homepage" href="http://ring-lang.net/">Website</a></li>
- <li><a title="総合索引" href="genindex.html">Index</a></li>
- <li>
-
-
-<form action="search.html" method="get">
- <input type="text" name="q" placeholder="Search" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
-</form>
-
- </li>
- </ul>
-</div>
-
-<div class="related">
- <h3>ナビゲーション</h3>
- <ul>
- <li class="right">
- <a href="whatisnew3.html" title="Ring 1.3 の変更履歴">
- next »
- </a>
- </li>
- <li class="right">
- <a href="whatisnew5.html" title="Ring 1.5 の変更履歴">
- « previous
- </a>
- |
- </li>
- <li>
- <a href="index.html">プログラミング言語 Ring 1.12 取扱説明書</a>
- »
- </li>
-
- <li>Ring 1.4 の変更履歴</li>
- </ul>
-</div>
-
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="ring-1-4">
-<span id="index-0"></span><h1>Ring 1.4 の変更履歴<a class="headerlink" href="#ring-1-4" title="このヘッドラインへのパーマリンク">¶</a></h1>
-<p>Ring 1.4 公開版の新機能と変更点を学びます。</p>
-<div class="section" id="index-1">
-<span id="id1"></span><h2>新機能と変更リスト<a class="headerlink" href="#index-1" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring 1.4 の新機能!</p>
-<ul class="simple">
-<li>変更: 基本拡張機能を Ring VM から分離</li>
-<li>自然言語ライブラリ</li>
-<li>Ring ノートパッドへ新しいスタイルを追加</li>
-<li>RingREPL</li>
-<li>数値とバイト間の変換</li>
-<li>StdLib の改良</li>
-<li>WebLib の改良</li>
-<li>RingQt の改良</li>
-<li>Qt クラスコンバーター</li>
-</ul>
-</div>
-<div class="section" id="ring-vm">
-<span id="index-2"></span><h2>変更: 基本拡張機能を Ring VM から分離<a class="headerlink" href="#ring-vm" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring 1.4 では、このライブラリが Ring VM から分離されました。</p>
-<ul class="simple">
-<li>RingODBC</li>
-<li>RingMySQL</li>
-<li>RingSQLite</li>
-<li>RingOpenSSL</li>
-<li>RingInternet</li>
-</ul>
-<p>下記のライブラリは Load 命令で使用可能になります。</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"odbclib.ring"</span>
-<span class="c"># ODBC 関数</span>
-</pre></div>
-</div>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"mysqllib.ring"</span>
-<span class="c"># MySQL 関数</span>
-</pre></div>
-</div>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"sqlitelib.ring"</span>
-<span class="c"># SQLite 関数</span>
-</pre></div>
-</div>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"openssllib.ring"</span>
-<span class="c"># OpenSSL 関数 (ハッシュとセキュリティ関数)</span>
-</pre></div>
-</div>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"internetlib.ring"</span>
-<span class="c"># インターネット関数 ( Download() と SendEmail() )</span>
-</pre></div>
-</div>
-<p>上記のライブラリを全て使う場合、 stdlib.ring を指定することにより
-odbclib.ring, mysqllib.ring, sqlitelib.ring, opensslib.ring
-そして internetlib.ring ファイルを読み込みます。</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"stdlib.ring"</span>
-</pre></div>
-</div>
-</div>
-<div class="section" id="index-3">
-<span id="id2"></span><h2>自然言語ライブラリ<a class="headerlink" href="#index-3" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring 1.4 では命令グループがある言語を手軽に定義するために、
-自然言語ライブラリがあります。</p>
-<p>例えば、テキストファイル program.txt に自然言語コードを記述します。</p>
-<p>ファイル: program.txt</p>
-<div class="highlight-none"><div class="highlight"><pre>Welcome to the Ring programming language!
-What you are reading now is not comments, I swear!
-
-After many years of programming I decided to think different about
-programming and solve the problems in a better way.
-
-We are writing commands or code and the Ring language is reading
-it to understand us! Sure, What you are seeing now is
-just ***part of the code - Not the Complete Program***
-You have to write little things before and after this
-part to be able to run it!
-
-It is the natural part of our code where we can write in English,
-Arabic or any Natural Language Then we will tell the computer
-through the Ring language what must happens! in a way that we can scale
-for large frameworks and programs.
-
-Just imagine what will happens to the world of programming once
-we create many powerful frameworks using the Ring language that
-uses this way (Natural Programming).
-
-For example When we say Hello to the Machine, It can reply! and when we
-say count from 1 to 5 it will understand us, Also if
-we said count from 5 to 1 it will
-understand us too! You can see the Output window!
-
-This Goal is not new, but the Ring language comes
-with an innovative solution to this problem.
-</pre></div>
-</div>
-<p>実行結果:</p>
-<div class="highlight-none"><div class="highlight"><pre>Hello, Sir!
-
-
-The Numbers!
-
-1
-
-2
-
-3
-
-4
-
-5
-
-I will count Again!
-
-5
-
-4
-
-3
-
-2
-
-1
-</pre></div>
-</div>
-<p>自然言語コードを実行するには、 start.ring を実行します。</p>
-<p>start.ring には言語と命令が定義されています。</p>
-<p>ファイル: start.ring</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"stdlib.ring"</span>
-<span class="k">load</span> <span class="s">"naturallib.ring"</span>
-
-<span class="k">New</span> <span class="n">NaturalLanguage</span> <span class="p">{</span>
- <span class="n">SetLanguageName</span><span class="p">(:</span><span class="n">MyLanguage</span><span class="p">)</span>
- <span class="n">SetCommandsPath</span><span class="p">(</span><span class="n">CurrentDir</span><span class="p">()</span><span class="o">+</span><span class="s">"/../command"</span><span class="p">)</span>
- <span class="n">SetPackageName</span><span class="p">(</span><span class="s">"MyLanguage.Natural"</span><span class="p">)</span>
- <span class="n">UseCommand</span><span class="p">(:</span><span class="n">Hello</span><span class="p">)</span>
- <span class="n">UseCommand</span><span class="p">(:</span><span class="n">Count</span><span class="p">)</span>
- <span class="n">RunFile</span><span class="p">(</span><span class="s">"program.txt"</span><span class="p">)</span>
-<span class="p">}</span>
-</pre></div>
-</div>
-<p>これで MyLanguage 言語名は定義済みになり、言語命令用のフォルダが指定されます。</p>
-<p>命令ごとに MyLanguage.Natural パッケージへ所属するクラスを定義します。</p>
-<p>Hello および Count を命令として二つ定義します。</p>
-<p>したがって、命令を定義するために CurrentDir()+”/../command” フォルダには二つのファイルが必要です。</p>
-<p>ファイル: hello.ring</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="n">DefineNaturalCommand</span><span class="p">.</span><span class="n">SyntaxIsKeyword</span><span class="p">(</span><span class="o">[</span>
- <span class="p">:</span><span class="n">Package</span> <span class="o">=</span> <span class="s">"MyLanguage.Natural"</span><span class="p">,</span>
- <span class="p">:</span><span class="n">Keyword</span> <span class="o">=</span> <span class="p">:</span><span class="n">hello</span><span class="p">,</span>
- <span class="p">:</span><span class="n">Function</span> <span class="o">=</span> <span class="k">func</span> <span class="p">{</span>
- <span class="k">See</span> <span class="s">"Hello, Sir!"</span> <span class="o">+</span> <span class="n">nl</span> <span class="o">+</span> <span class="n">nl</span>
- <span class="p">}</span>
-<span class="o">]</span><span class="p">)</span>
-</pre></div>
-</div>
-<p>ファイル: count.ring</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="n">DefineNaturalCommand</span><span class="p">.</span><span class="n">SyntaxIsKeywordNumberNumber</span><span class="p">(</span><span class="o">[</span>
- <span class="p">:</span><span class="n">Package</span> <span class="o">=</span> <span class="s">"MyLanguage.Natural"</span><span class="p">,</span>
- <span class="p">:</span><span class="n">Keyword</span> <span class="o">=</span> <span class="p">:</span><span class="n">count</span><span class="p">,</span>
- <span class="p">:</span><span class="n">Function</span> <span class="o">=</span> <span class="k">func</span> <span class="p">{</span>
- <span class="k">if</span> <span class="ow">not</span> <span class="n">isattribute</span><span class="p">(</span><span class="n">self</span><span class="p">,:</span><span class="n">count_times</span><span class="p">)</span> <span class="p">{</span>
- <span class="n">AddAttribute</span><span class="p">(</span><span class="n">self</span><span class="p">,:</span><span class="n">count_times</span><span class="p">)</span>
- <span class="n">Count_Times</span> <span class="o">=</span> <span class="mi">0</span>
- <span class="p">}</span>
- <span class="k">if</span> <span class="n">Expr</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="o">></span> <span class="n">Expr</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span> <span class="p">{</span>
- <span class="n">nStep</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span>
- <span class="k">else</span>
- <span class="n">nStep</span> <span class="o">=</span> <span class="mi">1</span>
- <span class="p">}</span>
- <span class="k">if</span> <span class="n">Count_Times</span> <span class="o">=</span> <span class="mi">0</span> <span class="p">{</span>
- <span class="k">see</span> <span class="n">nl</span><span class="o">+</span><span class="s">"The Numbers!"</span> <span class="o">+</span> <span class="n">nl</span>
- <span class="n">Count_Times</span><span class="o">++</span>
- <span class="k">else</span>
- <span class="k">see</span> <span class="n">nl</span> <span class="o">+</span> <span class="s">"I will count Again!"</span> <span class="o">+</span><span class="n">nl</span>
- <span class="p">}</span>
- <span class="k">for</span> <span class="n">x</span> <span class="o">=</span> <span class="n">Expr</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="k">to</span> <span class="n">Expr</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span> <span class="k">step</span> <span class="n">nStep</span> <span class="p">{</span>
- <span class="k">see</span> <span class="n">nl</span><span class="o">+</span><span class="n">x</span><span class="o">+</span><span class="n">nl</span>
- <span class="p">}</span>
- <span class="n">CommandReturn</span><span class="p">(</span><span class="n">fabs</span><span class="p">(</span><span class="n">Expr</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span><span class="o">-</span><span class="n">Expr</span><span class="p">(</span><span class="mi">2</span><span class="p">))</span><span class="o">+</span><span class="mi">1</span><span class="p">)</span>
- <span class="p">}</span>
-<span class="o">]</span><span class="p">)</span>
-</pre></div>
-</div>
-</div>
-<div class="section" id="ring">
-<span id="index-4"></span><h2>Ring ノートパッドへ新しいスタイルを追加<a class="headerlink" href="#ring" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring ノートパッドへ表示 - スタイル - モダンスタイルの選択を追加しました。</p>
-<p>スクリーンショット:</p>
-<img alt="Ring ノートパッドの用法 - モダンスタイル" src="_images/rnotemodernstyle.png" />
-</div>
-<div class="section" id="ringrepl">
-<span id="index-5"></span><h2>RingREPL<a class="headerlink" href="#ringrepl" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>application フォルダには、 RingREPL (Read-Eval-Print-Loop) があります。</p>
-<p>Ring ノートパッド (メニューバー - ツール) からも実行できます。</p>
-<p>スクリーンショット:</p>
-<img alt="RingREPL の用法" src="_images/ringrepl.png" />
-</div>
-<div class="section" id="index-6">
-<span id="id3"></span><h2>数値とバイト間の変換<a class="headerlink" href="#index-6" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring 1.4 では、数値とバイト間の変換をするために、下記の関数があります。</p>
-<ul class="simple">
-<li>Int2Bytes()</li>
-<li>Float2Bytes()</li>
-<li>Double2Bytes()</li>
-<li>Bytes2Int()</li>
-<li>Bytes2Float()</li>
-<li>Bytes2Double()</li>
-</ul>
-<p>用例:</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">see</span> <span class="s">"Test Int2Bytes() and Bytes2Int() - Value : 77"</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="n">r</span> <span class="o">=</span> <span class="n">Int2Bytes</span><span class="p">(</span><span class="mi">77</span><span class="p">)</span>
-<span class="k">see</span> <span class="s">"Int Size : "</span> <span class="o">+</span> <span class="n">len</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="n">r</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="n">Bytes2Int</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="s">"Test Float2Bytes() and Bytes2Float() - Value 77.12"</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="n">r</span> <span class="o">=</span> <span class="n">Float2Bytes</span><span class="p">(</span><span class="mf">77.12</span><span class="p">)</span>
-<span class="k">see</span> <span class="s">"Float Size : "</span> <span class="o">+</span> <span class="n">len</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="n">r</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="n">Bytes2Float</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="s">"Test Double2Bytes() and Bytes2Double() - Value 9999977.12345"</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="n">r</span> <span class="o">=</span> <span class="n">Double2Bytes</span><span class="p">(</span><span class="mf">9999977.12345</span><span class="p">)</span>
-<span class="k">see</span> <span class="s">"Double Size : "</span> <span class="o">+</span> <span class="n">len</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="k">see</span> <span class="n">r</span> <span class="o">+</span> <span class="n">nl</span>
-<span class="n">decimals</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span>
-<span class="k">see</span> <span class="n">Bytes2Double</span><span class="p">(</span><span class="n">r</span><span class="p">)</span> <span class="o">+</span> <span class="n">nl</span>
-</pre></div>
-</div>
-</div>
-<div class="section" id="stdlib">
-<span id="index-7"></span><h2>StdLib の改良<a class="headerlink" href="#stdlib" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>StdLib に関数を実装するために FSize() 関数を更新しました。</p>
-<p>print() 関数でローカル変数を受け入れられるように更新しました。</p>
-<div class="highlight-ring"><div class="highlight"><pre><span class="k">load</span> <span class="s">"stdlib.ring"</span>
-
-<span class="k">func</span> <span class="n">main</span>
- <span class="n">print</span><span class="p">(</span><span class="s">"Enter your name : "</span><span class="p">)</span> <span class="p">;</span>
- <span class="n">Name</span> <span class="o">=</span> <span class="n">getString</span><span class="p">()</span> <span class="p">;</span>
- <span class="n">print</span><span class="p">(</span> <span class="s">"Hello : #{Name} "</span><span class="p">)</span> <span class="p">;</span>
- <span class="k">return</span> <span class="p">;</span>
-</pre></div>
-</div>
-</div>
-<div class="section" id="weblib">
-<span id="index-8"></span><h2>WebLib の改良<a class="headerlink" href="#weblib" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>WebLib を更新しました</p>
-<ul class="simple">
-<li>エラーメッセージの実装</li>
-</ul>
-<ol class="arabic simple">
-<li>Error (WebLib-1) : REQUEST_METHOD is empty ! - Run this script from the browser</li>
-<li>Error (DataLib-1) : Can’t connect to the database server!</li>
-</ol>
-<ul class="simple">
-<li>Template() 関数の改良 - 第二仮引数でオブジェクトの代わりに NULL を受け入れることができるようになりました。</li>
-</ul>
-<div class="highlight-ring"><div class="highlight"><pre><span class="n">html</span><span class="p">(</span><span class="n">template</span><span class="p">(</span><span class="s">"main.rhtml"</span><span class="p">,</span><span class="kp">NULL</span><span class="p">))</span>
-</pre></div>
-</div>
-<ul class="simple">
-<li>“target”属性への対応のために Form クラスを更新</li>
-</ul>
-<div class="highlight-ring"><div class="highlight"><pre><span class="n">BootStrapWebPage</span><span class="p">()</span>
-<span class="p">{</span>
- <span class="n">Title</span> <span class="o">=</span> <span class="s">"The Ring Programming Language"</span>
- <span class="n">html</span><span class="p">(</span><span class="n">template</span><span class="p">(</span><span class="s">"main.rhtml"</span><span class="p">,</span><span class="kp">NULL</span><span class="p">))</span>
- <span class="n">div</span> <span class="p">{</span>
- <span class="n">classname</span> <span class="o">=</span> <span class="p">:</span><span class="n">container</span>
- <span class="n">div</span>
- <span class="p">{</span>
- <span class="n">id</span> <span class="o">=</span> <span class="s">"div3"</span>
- <span class="n">color</span> <span class="o">=</span> <span class="s">"black"</span>
- <span class="n">backgroundcolor</span> <span class="o">=</span> <span class="s">"white"</span>
- <span class="n">width</span> <span class="o">=</span> <span class="s">"100%"</span>
- <span class="n">form</span>
- <span class="p">{</span>
- <span class="n">method</span> <span class="o">=</span> <span class="s">"POST"</span>
- <span class="n">Action</span> <span class="o">=</span> <span class="n">website</span>
- <span class="n">Target</span> <span class="o">=</span> <span class="s">"codeoutput"</span>
- <span class="n">input</span> <span class="p">{</span> <span class="n">type</span><span class="o">=</span><span class="s">"hidden"</span> <span class="n">name</span><span class="o">=</span><span class="s">"page"</span> <span class="n">value</span><span class="o">=</span><span class="mi">1</span> <span class="p">}</span>
- <span class="n">Table</span>
- <span class="p">{</span>
- <span class="n">style</span> <span class="o">=</span> <span class="n">stylewidth</span><span class="p">(</span><span class="s">"100%"</span><span class="p">)</span> <span class="o">+</span>
- <span class="n">stylegradient</span><span class="p">(</span><span class="mi">3</span><span class="p">)</span>
- <span class="n">TR</span>
- <span class="p">{</span>
-
- <span class="n">TD</span> <span class="p">{</span> <span class="n">align</span><span class="o">=</span><span class="s">"center"</span>
- <span class="n">WIDTH</span><span class="o">=</span><span class="s">"10%"</span>
- <span class="n">text</span><span class="p">(</span><span class="s">"Code :"</span><span class="p">)</span>
- <span class="p">}</span>
- <span class="n">TD</span> <span class="p">{</span>
- <span class="n">html</span><span class="p">(`</span>
- <span class="o"><</span><span class="n">textarea</span> <span class="n">name</span> <span class="o">=</span> <span class="s">"cCode"</span>
- <span class="n">rows</span><span class="o">=</span><span class="s">"5"</span>
- <span class="n">style</span><span class="o">=</span><span class="s">"width : 100%; "</span><span class="o">></span>
- <span class="k">See</span> <span class="s">"Hello, World!"</span> <span class="o">+</span> <span class="n">nl</span>
- <span class="o"></</span><span class="n">textarea</span><span class="o">></span><span class="p">`)</span>
- <span class="p">}</span>
- <span class="p">}</span>
- <span class="p">}</span>
- <span class="n">Input</span> <span class="p">{</span> <span class="n">type</span> <span class="o">=</span> <span class="s">"submit"</span>
- <span class="n">classname</span><span class="o">=</span><span class="s">"btn btn-primary btn-block"</span>
- <span class="n">value</span> <span class="o">=</span> <span class="s">"Execute"</span> <span class="p">}</span>
- <span class="n">Table</span>
- <span class="p">{</span>
- <span class="n">style</span> <span class="o">=</span> <span class="n">stylewidth</span><span class="p">(</span><span class="s">"100%"</span><span class="p">)</span> <span class="o">+</span>
- <span class="n">stylegradient</span><span class="p">(</span><span class="mi">34</span><span class="p">)</span>
- <span class="n">TR</span>
- <span class="p">{</span>
-
- <span class="n">TD</span> <span class="p">{</span> <span class="n">align</span><span class="o">=</span><span class="s">"center"</span>
- <span class="n">WIDTH</span><span class="o">=</span><span class="s">"10%"</span>
- <span class="n">text</span><span class="p">(</span><span class="s">"Output :"</span><span class="p">)</span>
- <span class="p">}</span>
- <span class="n">TD</span> <span class="p">{</span>
- <span class="n">html</span><span class="p">(`</span>
- <span class="o"><</span><span class="n">iframe</span> <span class="n">name</span><span class="o">=</span><span class="s">"codeoutput"</span>
- <span class="n">width</span><span class="o">=</span><span class="s">"100%"</span>
- <span class="n">style</span><span class="o">=</span><span class="s">"background-color:white;"</span><span class="o">></span>
- <span class="o"></</span><span class="n">iframe</span><span class="o">></span><span class="p">`)</span>
- <span class="p">}</span>
- <span class="p">}</span>
- <span class="p">}</span>
-
- <span class="p">}</span>
- <span class="p">}</span>
-
- <span class="p">}</span>
- <span class="n">html</span><span class="p">(</span><span class="n">template</span><span class="p">(</span><span class="s">"footer.rhtml"</span><span class="p">,</span><span class="kp">NULL</span><span class="p">))</span>
-<span class="p">}</span>
-</pre></div>
-</div>
-</div>
-<div class="section" id="ringqt">
-<span id="index-9"></span><h2>RingQt の改良<a class="headerlink" href="#ringqt" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>この関数を RingQt へ追加</p>
-<ul class="simple">
-<li>SetDialogIcon(cIconFile)</li>
-<li>MsgInfo(cTitle,cMessage)</li>
-<li>ConfirmMsg(cTitle,cMessage)</li>
-<li>InputBox(cTitle,cMessage)</li>
-<li>InputBoxInt(cTitle,cMessage)</li>
-<li>InputBoxNum(cTitle,cMessage)</li>
-<li>InputBoxPass(cTitle,cMessage)</li>
-</ul>
-<p>このクラスを RingQt へ追加</p>
-<ul class="simple">
-<li>QToolButton</li>
-<li>QSerialPort</li>
-<li>QSerialPortInfo</li>
-</ul>
-</div>
-<div class="section" id="qt">
-<span id="index-10"></span><h2>Qt クラスコンバーター<a class="headerlink" href="#qt" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>Ring 1.4 は Qt クラスを RingQt への移植するための補助ツールがあります。</p>
-<p>ring/samples/tools/QtClassConverter にあります。</p>
-<p>オンライン : <a class="reference external" href="https://github.com/ring-lang/ring/tree/master/samples/tools/QtClassConverter">https://github.com/ring-lang/ring/tree/master/samples/tools/QtClassConverter</a></p>
-<p>スクリーンショット:</p>
-<img alt="RingQt 移植補助用 Qt クラスコンバーター" src="_images/qtclassconvertor.png" />
-</div>
-<div class="section" id="ring-1-4-1">
-<span id="index-11"></span><h2>Ring 1.4.1 の変更履歴<a class="headerlink" href="#ring-1-4-1" title="このヘッドラインへのパーマリンク">¶</a></h2>
-<p>このような変更点が Ring 1.4.1 にあります。</p>
-<ul class="simple">
-<li>ソースコードからのビルドに使用するスクリプトの改良</li>
-<li>Ring ノートパッドの Modern Style の配色を改善</li>
-<li>StdLib の改良</li>
-<li>RingQt の改良</li>
-<li>新しいサンプル : Sixteen Puzzle</li>
-</ul>
-<p>ソースコードからのビルドで使用するスクリプトの更新</p>
-<p>Windows, Ubuntu Linux, Linux Mint および macOS で動作確認を行いました。</p>
-<p>スクリーンショット:</p>
-<img alt="Linux Mint で Ring を使用" src="_images/linuxmint.png" />
-<p>Ring ノートパッドでは - モダンスタイルの配色を更新</p>
-<p>スクリーンショット:</p>
-<img alt="Ring ノートパッドの使用 - モダンスタイル" src="_images/rnotemodernstyle2.png" />
-<p>StdLib オブジェクトライブラリへ関数を実装しました。</p>
-<ul class="simple">
-<li>TrimLeft()</li>
-<li>TrimRight()</li>
-<li>TrimAll()</li>
-<li>EpochTime()</li>
-</ul>
-<p>この関数はウィンドウの前面にダイアログを表示するために更新しました。</p>
-<ul class="simple">
-<li>SetDialogIcon(cIconFile)</li>
-<li>MsgInfo(cTitle,cMessage)</li>
-<li>ConfirmMsg(cTitle,cMessage)</li>
-<li>InputBox(cTitle,cMessage)</li>
-<li>InputBoxInt(cTitle,cMessage)</li>
-<li>InputBoxNum(cTitle,cMessage)</li>
-<li>InputBoxPass(cTitle,cMessage)</li>
-</ul>
-<p>Applications フォルダへ Sixteen Puzzle を追加しました。</p>
-<p>スクリーンショット:</p>
-<img alt="Sixteen Puzzle" src="_images/sixteenpuzzle.jpg" />
-</div>
-</div>
-
-
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper"><h3>ページの内容</h3>
-<ul>
-<li><a class="reference internal" href="#">Ring 1.4 の変更履歴</a><ul>
-<li><a class="reference internal" href="#index-1">新機能と変更リスト</a></li>
-<li><a class="reference internal" href="#ring-vm">変更: 基本拡張機能を Ring VM から分離</a></li>
-<li><a class="reference internal" href="#index-3">自然言語ライブラリ</a></li>
-<li><a class="reference internal" href="#ring">Ring ノートパッドへ新しいスタイルを追加</a></li>
-<li><a class="reference internal" href="#ringrepl">RingREPL</a></li>
-<li><a class="reference internal" href="#index-6">数値とバイト間の変換</a></li>
-<li><a class="reference internal" href="#stdlib">StdLib の改良</a></li>
-<li><a class="reference internal" href="#weblib">WebLib の改良</a></li>
-<li><a class="reference internal" href="#ringqt">RingQt の改良</a></li>
-<li><a class="reference internal" href="#qt">Qt クラスコンバーター</a></li>
-<li><a class="reference internal" href="#ring-1-4-1">Ring 1.4.1 の変更履歴</a></li>
-</ul>
-</li>
-</ul>
-
-
- <h4>前のトピックへ</h4>
- <p class="topless"><a href="whatisnew5.html"
- title="前の章へ">Ring 1.5 の変更履歴</a></p>
- <h4>次のトピックへ</h4>
- <p class="topless"><a href="whatisnew3.html"
- title="次の章へ">Ring 1.3 の変更履歴</a></p>
- <div role="note" aria-label="source link">
- <h3>このページ</h3>
- <ul class="this-page-menu">
- <li><a href="_sources/whatisnew4.txt"
- rel="nofollow">ソースコードを表示</a></li>
- </ul>
- </div>
-
-<form action="search.html" method="get">
- <input type="text" name="q" placeholder="Search" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
-</form>
-
- </div>
- </div>
- <div class="clearer"></div>
- </div>
-<footer class="footer">
- <p class="pull-right">
- <a href="_sources/whatisnew4.txt"
- rel="nofollow">Page Source</a>
- <a href="#">Back to Top</a></p>
- <p>
- © Copyright 2016-2020, Ring Team.<br/>
- Created using <a href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> 1.3.6. / astropy-sphinx-theme 1.1 (isVowel)
- </p>
-</footer>
- </body>
-</html>
\ No newline at end of file