variables

  1. Brian Michael

    B4J Code Snippet [B4X] BMVariableFixFormat

    [UPDATE V1.1] Hello everyone, today I come to you with a small tool that will help you better organize your projects, reduce the lines of code and in turn reduce the weight of your project. I called Variable Fix Format Which can reduce all this: Private fx As JFX Private fx As JFX...
  2. P

    Spanish Reiniciar las variables como si se usara por primera vez la app.

    Hola Foro. Saludos. Tengo un proyecto de calculadora básica (suma,resta,multiplicación,división). De los ejemplos, la mayoría usan el edittext para ingresar los datos, yo quiero usar botones y etiquetas para ingresar los datos, hacer la app tipo calculadora.... Aclaro, mucho de lo que he...
  3. Lucas Eduardo

    Android Question Change the name of all variables automatically to a different one

    Hi, I was wondering how I could rename all variables to a different one automatically by some code in B4A if it's possible to do something like that. Maybe using the Find / Replace function idea, but to automatically change how to put _1234 at the end of each variable name. In code and design...
  4. maxh2815

    Android Question Should I use Dim or Public and Private?

    If I understand correctly, variables in Process_Globals and Globals should be declared with either Public or Private. However, if I was to declare a variable in a regular sub, should I use those modifiers or should I be using Dim? Is there an actual difference or is it just a personal...
  5. D

    iOS Question Storing an app's global variables

    Hi Guys For B4i, is it safe to keep global variables in any code module (within the Process_Globals sub). Kind regards Dave
  6. Paulo Rosa

    Android Question Initial state of variables

    Hi, Just a small doubt I couldn't find the answer for in B4X documentation: In VB 6 variables are always initialized when they are declared. For instance, if I declare "Public myflag as boolean", I can be sure that myflag variable will have the initial state of false... and so on for the other...
  7. K

    Android Question Public variables

    I want to declared public variables which i can access from any modules. I'm new in B4A. Thanks in advance
  8. Mikel Huerta

    Spanish Problema con Cursores que estan enlazados

    Amigos del foro , por favor una ayuda con esto que de plano o es el sueño o el cansancio o soy muy tonto. Tengo tres variables Cursor : dim C1, C2, C3 as Cursor , abajo en alguna sub tengo : Sub Funcion1 C1=C2 end sub y luego en otra tengo Sub Funcion2 C3=C2 End sub Lo que me pasa es...
Top