Main Neurospaces logo Genesis 2 Backwards Compatibility Bridge

Index of group ./specifications/core/change_elements


Index
Up

changing and obtaining the current working element

1. Interactive commands that change the current element, then prints it to the screen
2. A simple script that changes the current element, then prints it to the screen

1. Interactive commands that change the current element, then prints it to the screen

Startup command : src/ns-sli

(No model has been loaded for the following set of commands.)

1.1. What is the initial working element?

1. Executed command
pwe
2. Expected output

/

1.2. Can we create a neutral element?

1. Executed command
create neutral /foo
2. Expected output

1.3. Can we create a compartment element?

1. Executed command
create compartment /foo/compartment
2. Expected output

1.4. Can we create a tabchannel element?

1. Executed command
create tabchannel /foo/compartment/K
2. Expected output

1.5. Can we change the current element to the tabchannel element?

1. Executed command
ce /foo/compartment
2. Expected output

1.6. Can we print the current element to the screen (1)?

1. Executed command
pwe
2. Expected output
/foo/compartment

1.7. Can we change to the parent element?

1. Executed command
ce ..
2. Expected output

1.8. Can we print the current element to the screen (2)?

1. Executed command
pwe
2. Expected output
/foo
3. This test is currently not executed
(disabled is 'this one does not work yet, working on it')

2. A simple script that changes the current element, then prints it to the screen

Startup command : src/ns-sli ..//tests/scripts/basic-g/ce-test4.g


2.1. Can change the working element, then print it to the screen?

1. Expected output
/foo/compartment