Thought the cat after doing his ‘business’. :-)
Bob S
On Nov 19, 2014, at 11:35 , Sean Cole (Pi)
mailto:s...@pidigital.co.uk>> wrote:
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but i
try
get word 1 of line pl of the text of obj
Understand that OF is getting a property of the following object. In your
example you are trying to get the text of a line. A line does not have the text
property, only fields do. Make sense?
Bob S
On Nov 19, 2014, at 10:57 , Mike Doub
mailto:mik
On 19 November 2014 20:14, Michael Doub wrote:
> local savebuf, savedcallback, savedobj
> On initialize_read @buf, obj
> put (the address of buf) into savebuf -- How do I do this?
> put obj into savedobj
> open file serialport
> end initialize_read
>
It depends on *where* you want t
Here is the syntax that works. thanks goes to Scott Rossi
get word 1 of line 1 of (text of obj)
On 11/19/14 3:23 PM, Peter Haworth wrote:
I've run into the first issue many times. It seems that if the property
you are trying to get is a not a valid property of the referenced
container, then
I've run into the first issue many times. It seems that if the property
you are trying to get is a not a valid property of the referenced
container, then all works fine. If it is a valid property, then what you
get is that property of the container.
So in your example:
Function something obj pl
Thanks Sean, How would I go about saving the reference for use later?
I am trying to pass in a buffer address to a library driver routine for
a serial port. You must keep a read posted until data arrives. The
allert the caller thru a callback.
in a cardscript:
local buffer
On mouseup
p
Thanks Scott. Of course now that I see the answer, it is obvious.
Regards,
Mike
On 11/19/14 2:28 PM, Scott Rossi wrote:
See if this works for you:
on mouseUp
put something(long ID of field 1,2)
end mouseUp
function something obj, pl
return the formattedRect of line pl of obj
Hi Mike
Issue 1-
Get is for parameters which 'word' is not. So you would use 'put' rather
than 'get'. Get works well for formattedRect. To use 'get' for getting the
word 1 of 'obj' you would do this:
Get word 1 of line pl of the text of obj
because 'the text' is a parameter of your 'obj'
Issu
See if this works for you:
on mouseUp
put something(long ID of field 1,2)
end mouseUp
function something obj, pl
return the formattedRect of line pl of obj & cr & \
word 1 of line pl of (text of obj)
end something
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI
i have been struggling with a couple of language issues and I hope some one
can set me straight.
Issue 1). What is the syntax to get the contents of a field when you have
the long IDE to the field.
Put something ( long ID of field "foo", 2) into x
...
Function something obj pl
Get the forma
10 matches
Mail list logo