comline/tests/units/dev.cls
2023-06-15 13:10:20 +01:00

28 lines
412 B
OpenEdge ABL

namespace example
const PROTOCOL: u8 = 0
const SECRET: u8 = 1
enum Motion {
1 # Wave
2 # MoveArm
}
struct Hello {
const SHAKE: u8 = 20
1 # name: u8
}
struct Goodbye versioned=false {
wave: bool = false
}
protocol Greet {
function smile
function wave ()
function wave_wait () -> u8
function wave_and_go () -> str: timeout_ms=100
function wave_with (motion: Motion)
}