B4J Question GetSystemProperty & GetEnvironmentVariable - LucaMs    Nov 27, 2023 I can't remember (nor find) which library allows you to get the B4J application name at runtime (I would need it to set xui.SetDataFolder dynamically). Is there a way to get all possible keys of GetSystemProperty and GetEnvironmentVariable, i.e. get two Maps? I found Java code for the environment, so I could with Inline Java, but I would have to study how to get the Map in B4J and I don't think it's worth spending a whole day on a single instruction (SetDataFolder).... B4R Tutorial Memory, Variables and Objects - Erel    Aug 13, 2019   (5 reactions) memory leaks. There are two types of variables in B4R: local variables and global variables. Local variables are always created on the stack. This means that any object created in a sub, other than... be available. Note that global variables, except of primitives, behave as constants. You cannot... objects with the ObjectCopy method. This method can be used to copy a local object to a global variable. Notes - Only single dimension arrays are supported. - Local variables are not set to zero... B4J Question GetEnvironmentVariable("COMPUTERNAME", "") issue on Mac - ThRuST    Sep 8, 2020 I'm trying to get the GetEnvironmentVariable("COMPUTERNAME", "") to work in vmWare v15.1.0 on my PC. I'm running MacOS El capitan. JavaFX seems to work fine with RNE v8 and v9, went back to v8 but this command still returns an empty string. My virtual Mac's name is Macstation in system properties. The command to find the Computername works on my PC however.... Perhaps this is a vmware issue and not in B4J. Dim name As String = GetEnvironmentVariable... B4J Library NHEnvironentVariables - Get a map with all environment variables of all platforms - As of 20250124 - hatzisn    Jan 24, 2025   (5 reactions) and mac. With this library you can get a map with all environment variables of a Linux Distribution all platforms (Windows, Linux, Mac). The keys of the map are the enviroment variable names and the values of the map the corresponding values of the environment variables. The code does not break in... As EnvironmentVariables End Sub Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1... As Map = env.GetTheEnvironmentVariables Log(m) 'HOME = Some environment variable Log... B4A Tutorial Variables & Objects in Basic4android - Erel    Mar 24, 2011   (7 reactions)   tags: Code of variables: primitives and non-primitives types. Primitives include the numeric types: Byte, Short....html#post45511 Primitive types are always passed by value to other subs or when assigned to other variables... variable, a copy of the reference is passed. This means that the data itself isn't duplicated... variable. All types can be treated as Objects. Collections like lists and maps work with Objects and... an Object to a specific type. This can be done by assigning the Object to a variable of the required... B4A Question Help! Getting and using the name of a variable/array? - wonder    Sep 10, 2015 -code: Dim a, b, c, d, e, f, g, ... As Int GetUserInput("Which variable? ", VarName) SetVar(VarName, 10) 'Output: '(c = 0) 'Which variable? c '(c = 10) How can I do... ... End Sub I would like to do more advanced stuff like creating variables on the fly: GetUserInput("Create which variable? ", VarName) SetVar(VarName, 10) 'Output: '(in the beginning, the variable "c" doesn't exist.) 'Which variable? c '(the "c"... B4A Question Variable table name through jRDC - yiankos1    Aug 28, 2017 daily.?.agms=265475 I get error setting "?" for variable table name <pre> com...</pre></p> My question is how can i set a mySQL command for a variable table name... B4A Question Private class variable "visibility". - LucaMs    Aug 23, 2021 118156 This happens only inside the class itself (but anyway it shouldn't).... B4R Code Snippet ds18b20: 1Wire temperature sensor, B4R pin variable - peacemaker    Aug 6, 2025   (3 reactions) Finally reworked code for the ds18b20 sensor, with the pin setting. 'Module name = "esp_ds18b20", (c) Peacemakerv 'v.2 'Libs: https://github.com/milesburton/Arduino-Temperature-Control-Library; https://github.com/PaulStoffregen/OneWire Sub Process_Globals 'These global variables will be declared once when the application starts. 'Public variables can be accessed from all modules. Private pin1wire As Pin Public temperature_ds18b20 As Float... B4J Question safari session variables in b4j v4 - billyrudi    Dec 24, 2015 Hi i have problems with sessions variables with safari after upgrade to version 4. it seems that browser lose values. Chrome and firefox works correctly. In safari i have the accept cookies and data from all sites active. can anyone help me?... Page: 1   2   3   4   5   6   7   |