HSP Syntax Highlighter 1.3


/*
    Sample For HSP Syntax Highlighter
*/

// constant
#const V_0 1
#const V_1 3

// module
#module "syntax"
	#deffunc dispver int m, int n, int c
		mes strf({"%d : HSP Syntax Highlighter
		 version : %d.%d"}, c, m, n)
	return 0
#global

// main
	count = 0
	button gosub "Version", *disp
stop

// display version info
*disp
	count++
	if ( /*count > 5 && */ count < 10 ) {	; condition
		dispver V_0, V_1, count		; version
	}
return
 

Last modified (2015/11/30)
v1.3 : bug fixed