Character codes: Difference between revisions

Line 347:
=={{header|Objeck}}==
<lang objeck>
'a'->As(Int)->PrintLine();
bundle Default {
97->As(Char)->PrintLine();
class CharCode {
function : Main(args : String[]), Nil {
Run();
}
function : native : Run(), Nil {
'a'->As(Int)->PrintLine();
97->As(Char)->PrintLine();
}
}
}
</lang>
 
Anonymous user