proc main()
{
    const saveName = "oadlsave.oax";

    var a = "hello, world!";
    var b = a[1:3];
    "", a, ' ', b, '\n';

    var c = oadl::save(saveName);
    if (!c) {
        "Restore succeded\n";
        "", a, ' ', b, '\n';
        oadl::halt();
    }

    a = "Goodbye.";
    b = "Good Bye!";
    "", a, ' ', b, '\n';
    if (!oadl::restore(saveName)) {
        "Restore failed.\n";
    }

    "We should not get here.\n";
}