File: hello.hpc

package info (click to toggle)
hp48cc 1.3-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: yacc: 452; ansic: 184; lex: 108; makefile: 90; sh: 90
file content (13 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
// hello.hpc -- Produces a familiar, friendly greeting -*- C -*-

// Define main function
declare main() {
	// Call HP48 built-in function `MSGBOX'
	MSGBOX("Hello world!");
}

// Call main function
main();

// Remove main function
PURGE(@{main});