I can say, somebyte=ASC("x"), but is it possible to quickly assign a two-byte
string to a typical two-byte short?

I'm sure this can be done with some lengthy function but (as most
programmers should) I have a need for efficiency. I'm not concerned with
character set mishaps for people with different language settings, as the
app will be virtualized in a strict environment.

Also in general I am extremely interested in how to quickly assign values
from one datatype to a different one. Does GAMBAS have a convention for this
outside of functions like ASC?

-----
Kevin Fishburne, Eight Virtues
www:  http://sales.eightvirtues.com http://sales.eightvirtues.com 
e-mail:  mailto:sa...@eightvirtues.com sa...@eightvirtues.com 
phone: (770) 853-6271
-- 
View this message in context: 
http://old.nabble.com/someshort%3D%22xy%22-returns-%22Wanted-short%2C-got-string-instead%22-tp29715645p29715645.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to