Three very simple questions

prothero at earthlearningsolutions.org prothero at earthlearningsolutions.org
Sun Apr 26 17:52:48 EDT 2020


Folks:
I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn’t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn’t) alert us to impediments for that very vital population of potential or new users.

One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the “Guide” tab, I get what looks like a very informative document. However, if I’m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature.

Or have I just missed something?

Best,
Bill

William A. Prothero
Santa Barbara, CA. 93105
http://earthlearningsolutions.org/

> On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>> "globals are evil"
>> But we use  one array
>> Global gConfigA
>> and we stuff it with all manner of "things" including another arrays
>> it turns about to quite useful
> 
> Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants.
> 
> on preOpenStack
> global g<app>Features
> put "feature1,feature2,feature3" into g<app>Features
> end preOpenStack
> 
> ...some other stack
> 
> global g<app>features
> if "feature2" is among the items of g<app>features then
> ...
> 
> on closeStackRequest
> delete variable g<app>Features
> end closestackRequest
> 
> great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced...
> 
> -- 
> Mark Wieder
> ahsoftware at gmail.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list