[Openroad-users] External Class Issue

Darren Harvey darren.harvey at myworkplace.com.au
Mon Jun 2 16:49:55 EST 2008


Hi

 

I am using an external class and have the following problem:

 

The external class has an array attribute that I can use to get values from,
and it compiles successfully, and gives me the correct information at
run-time.  However when I try to set values in this attribute, I get a
compile-time error.  This same structure of code works in .NET, but is a
problem in OpenRoad.

 

Li_rfCardNew = mwp_clock.CardNumber(0);         // Compiles and works at
run-time

 

mwp_clock.CardNumber(0) = Li_RFCardNew;      // Failing compilation

                                        ^

%% Error at line 281

E_W40271 Invalid target of assignment or BYREF.

 

 

Is there something basic I am doing wrong, or does this type of assignment
just not work in OpenRoad? Or is there some other cause that I need to look
at?

 

Thanks

 

Darren

 

 

Regards

 

Darren Harvey

 



 

MyWorkplace Solutions Pty Limited

Level 5, 11 Queens Road

Melbourne Victoria 3004

 

Ph.       1300 733 731

Mob.     0400 398 188

Fax.      03 9710 1112

 

Making Service our Priority

 

www.MyWorkplace.com.au

 

If you receive this email by mistake, please notify us and do not make any
use of the email. We do not waive any privilege, confidentiality or
copyright associated with it.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080602/266696f6/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1436 bytes
Desc: not available
Url : http://www.peerlessit.com/pipermail/openroad-users/attachments/20080602/266696f6/attachment.jpe 


More information about the Openroad-users mailing list