ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 12.06.2025
Просмотров: 8256
Скачиваний: 1
© MCS Electronics, 1995-2007
Remarks
var |
A numeric variable that is assigned with the length of string. |
string |
The string to calculate the length of. |
Strings can be maximum 254 bytes long.
See Also
VAL
Partial Example
Dim S As String * 15 , Z As String * 15
S ="ABCDEFG"
Print Len(s)
LINE
Action
Draws a line on a graphic display.
Syntax
LINE(x0,y0) – (x1,y1), color
Remarks
X0 |
Starting horizontal location of the line. |
Y0 |
Starting vertical location of the line. |
X1 |
Horizontal end location of the line |
Y1 |
Vertical end location of the line. |
See Also
LINE , CONFIG GRAPHLCD
Example
'----------------------------------------------------------------------------- |
|
------------ |
: t6963_240_128.bas |
'name |
|
'copyright |
: (c) 1995-2005, MCS Electronics |
'purpose |
: T6963C graphic display support demo 240 * 128 |
'micro |
: Mega8535 |
'suited for demo |
: yes |
'commercial addon needed |
: no |
'----------------------------------------------------------------------------- |
|
------------ |
|
$regfile = "m8535.dat" |
' specify the used |
micro |
' used crystal |
$crystal = 8000000 |
|
page -550- |