翻訳と辞書
Words near each other
・ TI-73 series
・ TI-74
・ TI-80
・ TI-81
・ TI-82
・ TI-83 series
・ TI-84 Plus series
・ TI-85
・ TI-86
・ TI-89 series
・ TI-92 series
・ TI-95
・ TI-990
・ Ti-Anna Wang
・ TI-AR7
TI-BASIC
・ Ti-Château
・ TI-class supertanker
・ Ti-Grace Atkinson
・ TI-HI
・ Ti-Hua Chang
・ TI-Nspire series
・ TI-polaron
・ TI-Raleigh
・ Ti-Ratana Welfare Society
・ TI-RTOS
・ Ti-sapphire laser
・ Ti-Sarana Buddhist Association
・ Ti2bs
・ TIA


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

TI-BASIC : ウィキペディア英語版
TI-BASIC

TI-BASIC is the unofficial name of a BASIC-like language built into Texas Instruments (TI)'s graphing calculators, including the TI-83 series, TI-84 Plus series, TI-89 series, TI-92 series (including Voyage 200), TI-73, and TI-Nspire. TI rarely refers to the language by name, but the name TI-BASIC has been used in some developer documentation.〔http://education.ti.com/educationportal/sites/US/productDetail/us_ti89ti.html?bid=5 TI-89 at education.ti.com〕〔http://education.ti.com/nspire/scripting. Retrieved 2011-06-05.〕
For many applications, it is the most convenient way to program any TI calculator, since the capability to write programs in TI-BASIC is built-in. Assembly language (often referred to as "asm") can also be used, and C compilers exist for translation into assembly: TIGCC for Motorola 68000 (68k) based calculators, and SDCC for Zilog Z80 based calculators. However, both of them are cross-compilers, not allowing on-calculator programming. TI-BASIC is considerably slower than the assembly language (because it has to be interpreted), making it better suited to writing programs to quickly solve math problems or perform repetitive tasks, rather than programming games or graphics-intensive applications. Some math instruction books even provide programs in TI-BASIC (usually for the widespread variant used by the TI-82/83/84 series).
Although it is somewhat minimalist compared to programming languages used on computers, TI-BASIC is nonetheless an important factor in the programming community. Because TI graphing calculators are required for advanced mathematics classes in many high schools and universities, TI-BASIC often provides the first glimpse many students have into the world of programming.
==Syntax==
The syntax of all versions of TI-BASIC are somewhat different from typical BASIC implementations. The language itself has some basic structured programming capabilities, but makes limited to no use of or allowance for white space or indentation. It is also dependent on a somewhat non-standard character set, with specific characters for assignment (the right "STO" arrow, not readily available in most character sets), square and cube roots, and other mathematical symbols, as well as tokenized entry and storage for keywords. All statements begin with a colon, which also functions as a statement separator within lines. On the TI-83/84 models, closing parentheses, brackets, braces, and quotes can optionally be omitted at the end of a line or before the STO token in order to save space, although sometimes they are better left on. For example on TI 83/84 models the for loop function runs much slower without closing parentheses in certain circumstances.
Expressions use infix notation, with standard operator precedence. Many statements demand arguments in parentheses, similar to the syntax used for mathematical functions. The syntax for assignment (copying of data into a variable) is unusual with respect to most conventional programming languages for computers; rather than using a BASIC-like let statement with an equal sign, or an algol-like := operator, TI-BASIC uses a right-arrow "STO" operator with the syntax: ''source → destination''. This is similar to several japanese calculators (such as from Casio, Canon and Sharp) that have often employed a similar syntax, ever since the first mass market japanese alphanumerical calculators appeared in the late 1970s and early 1980s.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「TI-BASIC」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.