This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="eArriba25 eAbajo200 col-md-12"> | |
<form method="post"> | |
<div class="text-center alto30"> | |
<button class="btn btn-primary " formaction="/editor">Compilar</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Debuguear</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Continuar</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Siguiente</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Saltar</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Automatico</button> | |
<button class="btn btn-primary text-light" formaction="/editor">Exportar</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-----------------------PAQUETE-----------------------*/ | |
package olc2.np.lenguaje1.parser; | |
/*--------------------IMPORTACIONES--------------------*/ | |
import java_cup.runtime.Symbol; | |
import olc2.np.lenguaje1.convenciones.ManejadorDeErrores; | |
/*-----------------------INICIO------------------------*/ | |
%% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P = 0; | |
H = 0; | |
S = 0; | |
void principal(){ | |
t1 = P + 2; | |
t2 = 12 ^ 2; | |
t3 = 43 + t2; | |
if(t3 >= 3) goto L1; | |
goto L2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Evento generado por un botón en la interfaz que actualiza el arbol | |
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click | |
ListarDirectorios(treeView, "C:\Users\Erick Dávila\Documents\USAC\FISQL-OLC2-DIC-2018\OLC2-P1-Servidor-de-Base-de-Datos\OLC2-P1-Servidor-de-Base-de-Datos\bin\Debug\DBMS") | |
End Sub | |
'Evento que abre el archivo al darle doble click en una nueva pestaña | |
Private Sub treeView_DoubleClick(sender As Object, e As EventArgs) Handles treeView.DoubleClick | |
Try | |
OpenFileDesdeArbol() | |
Catch ex As Exception |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private DataTable ProductoCartesiano(NodoTabla tabla1, NodoTabla tabla2) | |
{ | |
DataTable resultado = new DataTable(tabla1.TableName + "-" + tabla2.TableName); | |
int i = 0; | |
foreach (DataColumn campo in tabla1.Columns) | |
{ | |
resultado.Columns.Add(tabla1.TableName+"."+tabla1.Columns[i].ColumnName); | |
i++; | |
} | |
i = 0; |