view test/bug-52722/include_globals.m @ 31201:a8b0acc018a2

maint: merge stable to default
author Rik <rik@octave.org>
date Wed, 24 Aug 2022 08:55:39 -0700
parents b728b7ac1601
children 8e4f14837db2
line wrap: on
line source

## Include script globals.m which defines global variables
define_globals

## Test for presence of a global variable defined above
if (! isglobal ("c"))
  error ("global variable 'c' not defined");
endif