Just a question: What happens if one calls LOCALS.OFF inside a function and that function is not invoked inside an interrupt? Does one get access to the global context?
You know BASIC! is an interpreter. If BASIC identifies some characters as a variable name, it searches for a variable by name. Normally inside functions BASIC! searches in a local (function) symbol table. But in this test version in BASIC! notation:
IF mGlobalsAll=1 & mLocals=0 ! Search in all symbol tables ELSE ! Search in local (function) symbol table ENDIF
In the test version it is interrupt independent. It is your choice to insert GLOBALS.ALL at program start, after ON***: in a function or where you want. But there must be a LOCALS.OFF, too!
To be compatible with interrupts you have to take a decision, because BASIC! does not know the needs of access to variables in the main loop.
Dear specialists. I have constructive suggestion. Why Rfo-Basic can not contain console based commands which are capable to create all available Android object types for GUI controls creation such as buttons, combo boxes, radio buttons, check boxes and others. Which problem prevent you from making that,
It is not a problem more a complex task. Maybe a case of an external Activity like Custom Controls. Android's GUI is template layout driven. Some controls are SDK dependent. Normally not an issue but Google removed some controls later.
so for now, only HTML5 and Webwiev can enable developers to use those kind of GUI controls.
Sorry, but in this case you are wrong. See "Tools for BASIC!", especially Emil's (RSA) tool.
I Am wondering why is it so complex to incorporate this. So GUI of console based apps would also use other object types than list items or OK and Cancel buttons. For now button radio button and check boxes would be incorporated as beginning. What do you think about it?
Suggestion: Take a look in some layout.xml files.
And Janusz, what is with the bug fix at the SELECT command. Does it work properly now? What was before and after update?
You see, calling the last code two times you get with the Restart app every time the same result, because the RUN command saves the last incomming data by calling.
What we now need, is an activated compiler checkbox for ExternalWritePermissions. If you use the _Internal directory you need no ExternalWritePermissions. If the App is deleted all the data are also automatically deleted.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum