refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / workbench / s / PCD
blobde2596169975044215962d6871d35292d8b6561d
1 .key NEWDIR
3 .bra {
4 .ket }
6 ; Changes directory and remembers the previous one
8 IF "{NEWDIR}" EQ ""
9   Assign ofrom{$$}: ""
10   CD from{$$}:
11   Assign from{$$}: ofrom{$$}:
12   Assign ofrom{$$}:
13 Else
14   Assign from{$$}: ""
15   CD {NEWDIR}
16 EndIF