PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Aula 991 - Windev - Array - 003 - ArrayDeleteLine
Aula 991 - Windev - Array - 003 - ArrayDeleteLine
Started by amarildo, Dec., 09 2016 12:40 PM - No answer
Connect yourself…
amarildo
#1
Registered member
535 messages
Popularité : +14 (14 votes)
Posted on December, 09 2016 - 12:40 PM
// Nessa aula vou ensinar como eliminar uma Linha do Array
TableDeleteAll
(
TABLE_
array
)
tab
Listanumeros is
array of
0
int
ArrayAddLine
(
tab
Listanumeros
,
10
)
ArrayAddLine
(
tab
Listanumeros
,
5
)
ArrayAddLine
(
tab
Listanumeros
,
3
)
ArraySort
(
tab
Listanumeros
,
asAscending
)
//Atualizando A Tabela
FOR x
=
1
TO
ArrayCount
(
tab
Listanumeros
)
TableAddLine
(
TABLE_
array
,
tab
Listanumeros
[x]
)
END
n
_linha_eliminar is
int
=
1
Input
(
"Linha Eliminar"
,
n
_linha_eliminar
)
//Eliminar Linha
ArrayDeleteLine
(
tab
Listanumeros
,
n
_linha_eliminar
)
//Eliminar Linha
//Atualizando A Tabela
TableDeleteAll
(
TABLE_
array
)
FOR x
=
1
TO
ArrayCount
(
tab
Listanumeros
)
TableAddLine
(
TABLE_
array
,
tab
Listanumeros
[x]
)
END
http://windevdesenvolvimento.blogspot.com.br/2016/12/aula-991-windev-array-003.html
http://doc.windev.com/en-US/…
Message modified, December, 09 2016 - 12:41 PM
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text