Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posible bug #8

Closed
gorco opened this issue Jun 30, 2014 · 1 comment
Closed

Posible bug #8

gorco opened this issue Jun 30, 2014 · 1 comment

Comments

@gorco
Copy link

gorco commented Jun 30, 2014

Probad este ejemplo "super-sencillo"

PROGRAM
TYPES
TArrayBool: ARRAY boolean[5]
VARIABLES
lista: TArrayBool;
x: int;
y: int

Programa Principal

{
x = 6;
y = 2;
lista[0] = ( x == y );
lista[1] = ( x < y );
lista[2] = ( x > y );
lista[3] = ( x != y );
read lista[4];
write lista[0];
write lista[1];
write lista[2];
write lista[3];
write lista[4]
}

@rsrdesarrollo
Copy link
Collaborator

Funciona
Traza de ejecución:

LEE: true
ESCRIBE: false
ESCRIBE: false
ESCRIBE: true
ESCRIBE: true
ESCRIBE: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants