Try changing the following line. *var = Val("&H" & "80")*
-- View this message in context: http://gambas.8142.n7.nabble.com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096p58109.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user