Some help please! architect

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Fri Dec 13 17:59:18 EST 2013


I am glad i could help.

Matthias


Am 13.12.2013 um 23:22 schrieb Joe Lewis Wilkins <pepetoo at cox.net>:

> Exactly Mathias! I forgot about the preference option, but I had tried using the Local declaration and it did not seem to work; maybe due to my poor vision and fractured fingers. Thanks a lot for your help.
> Joe Wilkins
> 
> 
> 
> On Dec 13, 2013, at 1:13 PM, Matthias Rebbe wrote:
> 
>> Hi Joe,
>> 
>> what do you mean with "explicit problem"
>> Are you getting an "compilation error" similar to this one
>> 
>> compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?))
>> 
>> If so, then it seems you have checked the option "strict compilation mode" under Preferences->ScriptEditor
>> 
>> You can either disable that option or you have to 
>> declare the variable myDefl before using it.
>> 
>> in your example insert the line
>> 
>> local mydefl   
>> 
>> before the line with the put command.
>> 
>> Regards,
>> 
>> Matthias Rebbe
>> 
>> 
>> Am 13.12.2013 um 21:52 schrieb Joe Lewis Wilkins <pepetoo at cox.net>:
>> 
>>> Hi everyone! Merry Christmas to all.
>>> 
>>> I've been away from LC for a very long time, concentrating on Architecture, but trying to use one of my stacks recently I encountered the "explicit variable" problem and I have forgotten how to resolve it. Here's a snippet of my code:
>>> on mouseup again
>>> if the hilite of btn "L/180" then
>>>  put 180 into myDefl
>>> 
>>> TIA,
>>> 
>>> Joe Lewis Wilkins
>>> Architect,
>>> 
>>> 
>>> _______________________________________________
>>> 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
>> 
>> 
>> 
>> Matthias Rebbe
>> Tel: 	+49 5741 310000
>>       +49 160 5504462
>> eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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



Matthias Rebbe
Tel: 	+49 5741 310000
        +49 160 5504462
eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de







More information about the Use-livecode mailing list