File: variable-scope-tests-expected.echo

package info (click to toggle)
openscad 2014.03%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,640 kB
  • ctags: 2,863
  • sloc: cpp: 24,054; python: 595; yacc: 466; ansic: 386; sh: 322; lex: 218; lisp: 151; xml: 60; makefile: 36
file content (27 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ECHO: "special variable inheritance"
ECHO: 23, 5
WARNING: Ignoring unknown variable 'a'.
ECHO: undef
ECHO: 23, 5
ECHO: "$children scope"
ECHO: "$children should be 1: ", 1
ECHO: "$children should be 4: ", 4
ECHO: "$children should be 1: ", 1
ECHO: "child_module_1 child"
ECHO: "child_module_2 child 0"
ECHO: "child_module_2 child 1"
ECHO: "copy $children"
ECHO: "copy_children_module: ", 2, 2
ECHO: "inner variables shadows parameter"
ECHO: 5, 24
ECHO: "user-defined special variables as parameter"
ECHO: 7
ECHO: 7
ECHO: "assign only visible in children's scope"
WARNING: Ignoring unknown variable 'c'.
ECHO: undef
ECHO: 5
ECHO: "undeclared variable can still be passed and used"
ECHO: 6
ECHO: "attempt to assign from a not-yet-defined variable which also exists globally"
ECHO: 5, 1