Mostrando postagens com marcador _Curso_Array. Mostrar todas as postagens
Mostrando postagens com marcador _Curso_Array. Mostrar todas as postagens

segunda-feira, 28 de outubro de 2024

Estrutura -4160- array , json e Ler materiais - VIDEO - Webdev 2024 - 066

Estrutura -4160- array , json e Ler materiais - VIDEO - Webdev 2024 - 066




00:00:00 Introdução
00:00:08 criando botao 
00:00:24 Codigo estrutura 
00:02:17 Testar Pagina
00:02:41 Propagandas e Video Encerramento







===============================


material_estrutura is Structure
materialID is int
nome     is string
END
linha_material_estrutura is material_estrutura
array_material is array of material_estrutura 
FOR EACH material 
    linha_material_estrutura.materialID=material.materialID
    linha_material_estrutura.nome=material.nome 
    array_material.Add(linha_material_estrutura)
END
material_json is JSON 
material_json.material = array_material
STC_Json=material_json
STC_Resultado=JSONToString(material_json)



==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice Grafico
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice Relatorio
Indice tabela

 


Indice Geral Windev

Indice Array 
Indice Grafico

Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio


Indice tabela
Indices Dicas De desenvolvimentos Pedido 







quarta-feira, 18 de setembro de 2024

FileToArray - VIDEO 4135 - Webdev 2024 - Webdev - FileToArray - 045

FileToArray - VIDEO 4135 - Webdev 2024 - Webdev - FileToArray -  045









material_estrutura is Structure 
materialId is int 
nome is string
quantidade is currency
END
linha_material_estrutura is material_estrutura 
array_material is array of material_estrutura
FileToArray(array_material,material)

TABLE_tabela.DeleteAll()
FOR EACH ELEMENT stlinha OF array_material
linha is int=TABLE_tabela.AddLine()
TABLE_tabela[linha].COL_Column1=stlinha.materialId
TABLE_tabela[linha].COL_Column2=stlinha.nome
TABLE_tabela[linha].COL_Column3=stlinha.quantidade
END




Json

tabela


00:00:00 Introdução
00:00:06 Criando botao filetoarray
00:00:21 Codigo filetoarray 
00:02:18 Testar pagina 
00:02:29 Propagandas e Video Encerramento






==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice tabela

 

Indice Geral Windev

Indice Array 


Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio

Indice tabela
Indices Dicas De desenvolvimentos Pedido 







segunda-feira, 16 de setembro de 2024

array sort composto - VIDEO 4134 - Webdev 2024 - Webdev - Array sort composto - 044

array sort composto - VIDEO 4134 - Webdev 2024 - Webdev - Array sort composto -  044








00:00:00 Introdução
00:00:07 Criando botao array sort composto 
00:00:18 Codigo array composto 
00:01:47 Testar pagina 
00:02:22 Propagandas e Video Encerramento



material_estrutura is Structure 
codigo is int 
nome is string
quantidade is currency 
END
linha_material_estrutura is material_estrutura 
array_material is array of material_estrutura
FOR EACH material 
linha_material_estrutura.codigo=material.materialID
linha_material_estrutura.nome=material.nome
linha_material_estrutura.quantidade=material.quantidade // novo
array_material.Add(linha_material_estrutura)
END
ArraySort(array_material,asMember,"quantidade;nome") // novo
TABLE_tabela.DeleteAll()
FOR EACH ELEMENT stlinha OF array_material
linha is int=TABLE_tabela.AddLine()
TABLE_tabela[linha].COL_Column1=stlinha.codigo
TABLE_tabela[linha].COL_Column2=stlinha.nome
TABLE_tabela[linha].COL_Column3=stlinha.quantidade // novo
END




==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice tabela

 

Indice Geral Windev

Indice Array 


Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio

Indice tabela
Indices Dicas De desenvolvimentos Pedido 







Teste

Teste
teste