{ {type='rows', default={font={size=21}, line_height=35}, {type='text', font={size=28}, line_height=50, {'Lua@{Lua} > トップレベル', attrs={ Lua={target='--lua'}, }}, }, {type='filler', height=15}, {type='text', 'すべてのLuaプログラムはいくつかの種類のもので構成されています。'}, {type='filler', height=15}, {type='text', 'x = 34', font={size=24}}, {type='text', ' 変数定義'}, {type='filler', height=10}, {type='text', 'function add(a, b) return a+b end', font={size=24}}, {type='text', ' 関数定義'}, {type='text', " ('end'の前に複数の文を含むことができます。変数定義を含む。)"}, {type='filler', height=10}, {type='text', 'x = add(3, 4)', font={size=24}}, {type='text', ' 変数定義は(上記/前に定義された)関数を呼び出すことができます'}, {type='filler', height=10}, {type='text', 'add = function(a, b) return a+b end', font={size=24}}, {type='text', ' 上記の関数を定義する別の方法。関数名は変数名の一種です。'}, } }