[Openroad-users] Processed script
Doug White
black_belt101 at hotmail.com
Mon Jul 23 15:14:43 EST 2007
Yep, checked it, if there are no errors or warnings it returns null :Pback to the drawing boardDougDate: Mon, 23 Jul 2007 00:54:05 -0400CC: To: openroad-users at peerlessit.com; black_belt101 at hotmail.comFrom: simonl at unwired.com.auSubject: Re: [Openroad-users] Processed scriptWouldn't the compile_errors only work if there were compile warnings/errors? I thought it was NULL otherwise. Oh, and none of this would work if run from an image. -----Original Message-----From: "Dougwa is cool" [black_belt101 at hotmail.com]Date: 23/07/2007 02:42 PMTo: "International OpenROAD Users" <openroad-users at peerlessit.com>Subject: Re: [Openroad-users] Processed script Note: Original message sent as attachment--Forwarded Message Attachment--From: black_belt101 at hotmail.comTo: openroad-users at peerlessit.comDate: Mon, 23 Jul 2007 14:07:34 +1000Subject: Re: [Openroad-users] Processed scriptAFAIKcompsource.script contains the unprocessed script of a component. compsource.compile_errors could be used to get the processed script, you would have to parse for '%%' to ensure that there were no warnings or errors.Doug WhiteDate: Sat, 21 Jul 2007 17:44:20 -0400To: openroad-users at peerlessit.com; Pete.Wilkinson at vivista.sungard.comFrom: simonl at unwired.com.auSubject: Re: [Openroad-users] Processed scriptAre you sure that is the PROCESSED script though? I thought it was the raw script. I don't think the processed script is stored anywhere, rather generated on the fly. Notice that if you change code while it is running you can see the new code in the debugger under certain circumstances. If I'm correct you'd need to find an undocumented method. -----Original Message-----From: "Pete Wilkinson" [Pete.Wilkinson at vivista.sungard.com]Date: 20/07/2007 06:25 PMTo: "International OpenROAD Users" <openroad-users at peerlessit.com>Subject: Re: [Openroad-users] Processed script Note: Original message sent as attachment--Forwarded Message Attachment--Date: Fri, 20 Jul 2007 08:49:51 +0100From: Pete.Wilkinson at vivista.sungard.comTo: openroad-users at peerlessit.comSubject: Re: [Openroad-users] Processed scriptlook at the Script attribute of the CompSource for the component, e.g.color=#0000ff> color=#0000ff> cs = CurProcedure.ObjectSource.ParentApplication.FetchComponent ( componentname = procname );color=#0000ff> color=#0000ff>cs.Script,which is a StringObject, will contain the full compiled/processed script, for you to display as you wish. face=Tahoma>-----Original Message-----From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Gregory WildingSent: 20 July 2007 05:06To: openroad-users at sealion.peerlessit.comSubject: [Openroad-users] Porcessed scriptDoes anybody know if you can access the ability to view the processed script from inside an openrtoad application Thanks Discover the new Windows Vista href="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE" target=_new>Learn more! This message has been checked for all known viruses on behalf of SunGard Vivista by MessageLabs. http://www.messagelabs.com or Email: mailsweeper.info at vivista.sungard.comFor further information http://www.sungard.com/vivista********************************************************************** SunGard Vivista Limited, Marshfield, Chippenham, Wiltshire SN14 8SRTelephone: 08456 041999, Fax: 08456 052999 Registered Office: 33 St Mary Axe, London EC3A 8AA. Registered in England No. 1593831 VAT Reg No. GB 810 9546 34 ********************************************************************** This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager. This footnote also confirms that this email message has been swept byMIMEsweeper for the presence of computer viruses. www.mimesweeper.com********************************************************************** This message has been checked for all known viruses on behalf of SunGard Vivista by MessageLabs. http://www.messagelabs.com or Email: mailsweeper.info at vivista.sungard.comFor further information http://www.sungard.com/vivistaGet news, entertainment and everything you care about at Live.com. Check it out!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070723/824814a6/attachment.html
More information about the Openroad-users
mailing list