All pastes #426892 Raw Edit

Something

public text v1 · immutable
·published 2007-04-06 13:51 UTC
rendered paste body
; variable declaration/initialization
MyVar = 1 + 2 ; string: "1 + 2"
MyVar := 1 + 2 ; integer: 3

; subroutine and function calls
GoSub, divide
MyVar := multiply(a, b)

; end of auto-execute section
Return

/*
** Subroutines
*/

calcSub:
    MyVar := 8 / 4
Return

/*
** Functions
*/

multiply(a, b)
{
    Return a * b;
}