David Boatright wrote:
> I have been trying to pass an array and I keep getting a message that the
> parameter is incorrect.  Here is the code.
> 
> 
> myInDesign = CreateObject("InDesign.Application.CS2")
> 
> myDocument = myInDesign.Documents.Add
> 
> myPage = myDocument.Pages.Item(1)
> 
> myTextFrame = myDocument.TextFrames.Add
> 
> DIMENSION MYARRAY(4)
> 
> MYARRAY(1) = "0p0"
> 
<snipped>

Does the documentation say that it actually knows how to handle what VFP 
calls an array? Do you think you could try passing it a comma-delimited 
string instead?

MYARRAY(1) = "0p0,0p0,18p0,18p0"


-- 
Matthew S. Jarvis
IT Manager, MCP
Bike Friday - "Performance That Packs!"
www.bikefriday.com
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to