Printing in LC 7.0.3

Graham Samuel livfoss at mac.com
Thu Mar 5 07:23:30 EST 2015


Wow! I certainly did misunderstand. I had no idea that comma was a function. Always something new to learn.

Thanks

Graham

> On 5 Mar 2015, at 12:40, Mike Doub <mikedoub at gmail.com> wrote:
> 
> Graham, I think you misunderstood my comment.   The comma is actually a
> function.  It concatinates two string with a comma in the middle.  Much
> like &&.
> 
> I got confused on this one too.   But it is really helpful, especially when
> working with screen coordinates.
> 
> Mike
> 
> On Thursday, March 5, 2015, Graham Samuel <livfoss at mac.com> wrote:
> 
>> I don’t think ‘put’ is a function, it’s a command. According to the LC
>> Dictionary, it expects "any expression that evaluates to a string.” So it
>> is quite clever of the engine to interpret a set of numbers separated by
>> commas as a string.
>> 
>> LC has a number of helpful interpretations like this, but I'm not sure how
>> many of them are official. If unofficial, then it's presumably legit (even
>> if very annoying) when RunRev tightens the rules.
>> 
>> Graham
>> 
>>> On 5 Mar 2015, at 04:17, Mike Doub <mikedoub at gmail.com <javascript:;>>
>> wrote:
>>> 
>>> Lookup ,  in the dictionary.   It is a function.
>>> 
>>> 
>>> 
>>> On Wednesday, March 4, 2015, stephen barncard <
>>> stephenREVOLUTION2 at barncard.com <javascript:;>> wrote:
>>> 
>>>> On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford <t.heaford at icloud.com
>> <javascript:;>
>>>> <javascript:;>>
>>>> wrote:
>>>> 
>>>>> put 0,0,300,200 into tPrintRect
>>>> 
>>>> 
>>>> why no quotes around the comma delimited list?
>>>> 
>>>> --
>>>> Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com <javascript:;> <javascript:;>
>>>> 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 <javascript:;>
>>> 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 <javascript:;>
>> 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





More information about the Use-livecode mailing list