sapphire/examples/new-syntax.sp

12 lines
187 B
SourcePawn
Raw Normal View History

2022-06-09 15:24:50 +00:00
let { io } in @'core/io';
let good_food : String = 'watermelon';
let @main : i32 in {
io.outln('Hello world!');
io.outf('My favorite food is %s\n',good_food);
return 0;
}