point math
Klaus Major
klaus at major-k.de
Thu Aug 14 08:29:00 EDT 2003
Hi Mark,
> On Tuesday, August 12, 2003, at 06:27 PM, Mark Brownell wrote:
>
>> This is definitely not SQML compliant but having your own markup
>> language "means never having to say you're sorry."
>
> gees! I must be getting old, it's SGML, Standard Generalized Markup
> Language.
> Several of my resent posts refer to it as SQML. Anyway I'm just
> embarking on a
> search of the archives for location of stack point math or point
> addition and subtraction.
> If I do this in the message window "put 10 + 20,30 + 10" I get 30,40.
> If I "put the loc of stack me into var" and try the same math, 10 +
> var + 10, I get error.
> I'm trying to dock a newly opened stack to an already open stack. Any
> suggestions?
> I would like to move sub-stacks around with the main stack when each
> sub-stack opens.
You will have to refer to the 2 items in that var, when doing point
math...
put the loc of this stack into var
## i am not sure if "...of stack me" is valid syntax!!!
add 20 to item 1 of var ## x location
add 30 to item 2 of var ## y location
set the loc of this stack to var
You get the picture...
> me
you :-)
Hope that helps...
Regards
Klaus Major
klaus at major-k.de
www.major-k.de
More information about the use-livecode
mailing list