mabu

FreeBASIC Helloworld

Jun 18th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define unicode
  2. #include once "windows.bi"
  3.  
  4. Function EntryPoint Alias "EntryPoint"()As Integer
  5.    
  6.     Const HelloWorld = !"Привет, мир!\r\n"
  7.    
  8.     Dim CharsCount As DWORD = Any
  9.     WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), @HelloWorld, 14, @CharsCount, 0)
  10.    
  11.     Return 0
  12. End Function
Add Comment
Please, Sign In to add comment