| 전자부품 데이터시트 검색엔진 |
|
UM0715 데이터시트(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0715 데이터시트(HTML) 18 Page - STMicroelectronics |
|
18 / 24 page ![]() Expression UM0715 18/24 Doc ID 15798 Rev 2 To add a newline or other control character, use the CHR$() function. Note that CHR$(0) will prematurely terminate the string. Use the ASCII() function to perform numerical manipulation on characters. e.g LET B$ = CHR$( ASCII(B$) + 1) will set B$ to the next letter of the alphabet. The ?+? operator will concatenate strings. 10 PRINT ?Fred? + ?Bloggs? + CHR$(42) + x$ Will print FredBloggs* followed by the contents of x$. Functions with names ending in ?$? always return strings. Parentheses are not optional. 5.3 Relational expressions Relational expressions are used only in IF ... THEN statements to make conditional jumps. A relational expression evaluates to either true or false. The allowed operators a =, <> (doesn’t equal), >, >=, <, <=. With expressions the comparison is numerical, and with strings it is alphabetical. Both sides of a relational operator must be of the same type. Relational expressions can contain the keywords AND and OR. Order of evaluation is left to right, but parentheses should always be used to disambiguate mixed expressions. Examples of use: 10 IF (x <= 5 AND x > 0) OR x = 10 THEN 100 |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |