EXCEPTIONS ABOUT PROGRESSIVE



1.- Without antivirus these computers can fail.
2.- In spite of analyzing a memory this can have virus.
3.- Before sleeping must wash teeth.
4.- Besides singing also dance
5.- After playing computer games must powered off.
6.- On make a cake, this must baking.
7.- In stead of play soccer is better study math.

Full name: Gutiérrez Moreno Jasarefh
Speciality: Informatic 4°

Comments: I think this is important because the exceptions can use in any moment and we know it.

Oral source: Guillermo Lara Villafaña, teaches English in the CETis 94

HOMEWORK lo mismo de la clase pero con were

They were requesting a chance to deliver the payment voucher, besides

they were hoping o discount for that payment on time.


Were they requesting a chance to deliver the payment voucher?
Yes, they were.
No, they weren’t.

Who was requesting a chance to deliver the payment voucher?
R= They were.

What were they requesting to deliver the payment voucher?
R= A chance.

For what were they requesting a chance for?
R= To deliver the payment voucher.

Full name: Jasarefh Gutiérrez Moreno
Especiality: informatic 4°


TAREA VISUAL BASIC

COMO SE DECLARA UNA VARIABLE

-En un procedimiento:

Dim (variable) As (tipovariable)

-En un procedimiento como permanente:

Static Dim (variable) As (tipovariable)

-En un formulario:

Privada: solo en ese formulario: Private (variable) As (tipovariable)

Publica: en cualquier parte del programa: Public (variable) As (tipovariable)

-En un modulo:

Privada: solo en ese formulario: Private (variable) As (tipovariable)

Publica: en cualquier parte del programa: Public (variable) As (tipovariable)

Global (variable) As (tipovariable)

Ejemplo:

Se le antepone la palabra reservada Dim, luego el nombre que nosotros queramos y seguido el tipo de dato que almacena:

Dim numero As integer

Numero = 15000


COMO SE DECLARA UNA CONSTANTE

Se declaran mediante la instrucción const

[public|private] const nombre_constante[As tipo] = expresión

Const con pi – 3.14159265358979

Public const conmax planetas As integer-9

Const con fecha salida_#1/1*95#


AMBITO DE LA VARIABLE

Las partes del programa donde esa variable esta declarada.

Local: cuando la misma solo es accesible desde un mismo procedimiento.

Global: cuando la misma es accesible desde tanto rutinas o macros de la aplicación, como en todos los procedimientos y funciones de la misma.


REGLAS PARA NOMBRAR LAS VARIABLES

1.- de el nombre a la variable de acuerdo a lo que representa.

2.- No use espacios en el nombre de la variable.

3.- Comience el nombre de la variable con una letra.

4.- No utilize ningún signo que se utilicecomo operador matematico.

5.- Una vez incluya el nombre de la variable

6.- Sea conciente en el uso de mayúsculas y minúsculas.

7.- utilice los estándares de nombres establecidos en su trabajo

CONSTANTE

VARIABLE

Sin nombre

25

-1.5

“UMET”

“00919”

Con nombre

PI 3.142857

Con nombre

Nombre de la variable: EDAD

Valor 25

Nombre de la variable: EFECTIVO

Valor 83.59

Nombre de la variable: Zip Code

Valor “00919


PROCEDIMIENTOS

Un procedimiento es un bloque de instrucciones de Visual Basic incluido entre una instrucción de declaración (Function, Sub, Operator, Get, Set) y una declaración End correspondiente.

Los procedimientos se invocan desde otras partes del código. Esto se conoce como una llamada a procedimiento. Cuando finaliza la ejecución de un procedimiento, éste devuelve el control al código que lo invocó, que recibe el nombre de código de llamada.

Los procedimientos devuelven el control al código de llamada cuando finalizan su ejecución.

Con una instrucción Return, el control vuelve inmediatamente al código de llamada. No se ejecutan las instrucciones siguientes a la instrucción Return. Puede tener más de una instrucción Return en el mismo procedimiento.

Con una instrucción Exit Sub o Exit Function, el control vuelve inmediatamente al código de llamada. No se ejecutan las instrucciones siguientes a la instrucción Exit. Puede tener más de una instrucción Exit en el mismo procedimiento, y puede mezclar las instrucciones Return y Exit en el mismo procedimiento.

Si un procedimiento no incluye instrucciones Return o Exit, concluye con una instrucción End Sub o End Function, End Get o End Set a continuación de la última instrucción del cuerpo del procedimiento. La instrucción End devuelve el control inmediatamente al código de llamada. Puede tener sólo una instrucción End en un procedimiento.

Rules of present & past progressive


1.- If a verb finishes with the letter "e", this deletes for i latin letter, plus "ng", for instance:
like = liking
live = living
broke = broking
come = coming
create = creating
drive = driving

2.- If a verb finishes whit double vowel (ee), adds "ing", for instance:
to see = seeing
to agree = agreeing
flee = fleeing
free = freeing

3.- If a verb finishes in (ie) this deletes & adds "yng", for instance:
lie = lyng
die = dyng
tie = tyng

4.-If a verb finishes whit diferent letter, in some cases, adds otrer letter according to its ending, for instance:
to put = putting
to stop = stopping
run =running
swim = swimming

5.- If a verb finishes whit the letter "L", adds another one "L", plus "ing", for instance:
to steall = stealling
to appeal = appealling
feel = feeelling


Full name: Gutiérrez Moreno Jasarefh
Especiality: Informatic
Comments: I writing here the rules of verb progressive, I belive this is very important, because now I know when I must use the rules.

Oral source: Guillermo Lara Villafaña, teaches English in the CETis 94