Commit inicial

This commit is contained in:
2024-03-18 19:25:08 -06:00
commit 5a89c50ef2
161 changed files with 26070 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
Starter.skmt.BeginTransaction
For Each records() As Object In $result$.Rows
Log($"COL: ${$result$($result$.Columns.Get("$dbCol$"))}, VALUE: ${records($result$.Columns.Get("$dbCol$"))}"$)
Dim $dbCol$ As String = $result$($result$.Columns.Get("$dbCol$"))
Starter.skmt.ExecNonQuery2($"$sql_statement$"$)
Next
Starter.skmt.TransactionSuccessful 'Si no se pone TransactionSuccessful no se escribe NADA!!
Starter.skmt.EndTransaction

8
B4A/Snippets/case.txt Normal file
View File

@@ -0,0 +1,8 @@
Select $var$
Case $val1$
$do_something1$
Case $val2$
$do_something2$
Case Else
$do_something3$
End Select

View File

@@ -0,0 +1 @@
Private $var$ As Map = CreateMap("$par1$":$val1$, "$par2$":$val2$)

View File

@@ -0,0 +1,3 @@
Dim cs As CSBuilder
cs.Initialize
$var$ = cs.Color(Colors.red).append(elTexto).Popall

View File

@@ -0,0 +1 @@
Starter.skmt.ExecNonQuery($"$sql_sattement$"$)

View File

@@ -0,0 +1 @@
$cursor$ = Starter.skmt.ExecQuery("$sql_statement$")

4
B4A/Snippets/for.txt Normal file
View File

@@ -0,0 +1,4 @@
'Iterates with respect to keys in a map.
For Each $varName$ As String In $mapName$.Keys
$end$
Next

View File

@@ -0,0 +1,6 @@
For Each records() As Object In $resultado$.Rows
LogColor($"====== ${$resultado$.Tag} - REGISTROS = ${$resultado$.Rows.Size}"$, Colors.RGB(215,37,0))
For Each k As String In $resultado$.Columns.Keys
LogColor(k & " = " & records($resultado$.Columns.Get(k)), Colors.RGB(215,37,0))
Next
Next

8
B4A/Snippets/select.txt Normal file
View File

@@ -0,0 +1,8 @@
Select $var$
Case $val1$
$do_something1$
Case $val2$
$do_something2$
Case Else
$do_something3$
End Select

3
B4A/Snippets/while.txt Normal file
View File

@@ -0,0 +1,3 @@
Do While $condicion$
$end$
Loop