Hi,

I want to create a byte array using tclblend.The array may contain values 
from 00 to FF

in Java I would do it as follows,

byte b[] = { (byte) 0xFF ,(byte) 0x80};

Can you please tell me how to implement this in tclblend ?

For values less than 7F I have no problems

I say set x [java::new {byte[]} {2} {0x50 0x7F}]

For values greater than 7F to FF, I have to cast it and I am having problems 
at that point. Can you please help?

Thanks
Suvarna


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to