The problem is that Dim does not create a CashRegister object; it only declares a variable named reg of that Type.
El problema es que Dim no crea un objeto de tipo Registradora; solo declara una variable llamada reg de ese Tipo.
Declares a variable or an array at the procedure level within a subroutine or a function, so that the values of the variable or the array are retained after exiting the subroutine or function.
Declara una variable o una matriz a nivel de procedimiento dentro de una subrutina o función, de manera que los valores de la variable o matriz se conservan incluso después de salir de la subrutina o función.
Line 8 declares a variable which points to an int, and line 9 declares a variable which points to something with structure MyStruct.
La línea 6 declara una variable que apuntará a un entero, y la línea 7 declara una variable que apunta a algo de la estructura MyStruct.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.