|
Trabalhando com STRUCTURE |
Iniciado por Marcos Alves, 18,dic. 2016 10:52 - 2 respuestas |
| |
| | | |
|
| |
Publicado el 18,diciembre 2016 - 10:52 |
Bom dia, Estou precisando utilizar uma (Structure) em meu projeto, mas não estou conseguindo fazer o processo de input,delele e select. A estrutura estou conseguindo montar, mas o restante não estou conseguindo utilizar. Exemplo DadosLocal is structure id is int Nome is int END
Usuarios is array of DadosLocal
///////////////////// UTIILIZANDO Teste is DadosLocal
Teste.id = 1 Teste.Nome = "Marcos"
Mas agora eu não estou conseguindo executar os próximos passos de incluir, alterar e excluir.
Alguem poderia me ajudar.
Obrigado,
Marcos Alves |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 212 mensajes Popularité : +25 (25 votes) |
|
Publicado el 19,diciembre 2016 - 13:29 |
Marcos, o Sctructure é uma variável não uma tabela, uma das formas que imagino para trabalhar com vários "registros" da estrutura é utilizando um array da estrutura veja nesta documentação http://doc.windev.com/en-US/…
State is structure Name is string Number is int Prefecture is string END
ArrState is array of 0 State ArrState = [["Ain", 1, "Bourg-en-Bresse"], ["Aisne", 2, "Laon"], ["Allier", 3, "Moulins"]]
ArrStateName is associative array of State ArrStateName = [["Ain", ["Ain", 1, "Bourg-en-Bresse"]], ["Aisne", ["Aisne", 2, "Laon"]], ["Allier", ["Allier", 3, "Moulins"]]]
-- André Martini IS2 Automotive http://www.is2.inf.br/is2automotive/index.html IS2 Construtive http://www.is2.inf.br/is2construtive/index.html IS2 Store http://www.is2.inf.br/is2store/index.html IS2 Gerent http://www.is2.inf.br/is2gerent/index.html |
| |
| |
| | | |
|
| | |
| |
Publicado el 20,diciembre 2016 - 08:42 |
Bom dia André,
Muito obrigado,
Marcos Alves |
| |
| |
| | | |
|
| | | | |
| | |
|