View Single Post
Old 09 February 2018, 19:50   #1715
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,644
Quote:
Originally Posted by TuKo View Post
Thanks DamienD, my question wasn't maybe precise enough. Why did Commmodore/AmigaTech/Escom/whatever did put this one in their Workbench Startup-Sequence ? Were they expecting something failing with Error 20 ?
No, failat sets the level at which the script will halt and not continue.
So with FailAt 21 it means that any error below 21 will not halt the whole startup-sequence, it will just fail at that line and go on. I don't think they did it to expect something failing, rather to make the startup-sequence work through even if something you add fails.

http://wiki.amigaos.net/wiki/AmigaOS...ference#FAILAT

>NIL: redirects anything the command outputs to the null device. This is so nothing is shown on a shell window. It's useful in the beginning of the startup-sequence, because it will not open a Shell window until there's some output. There could be tiny memory implications on this (opening a screen with a Shell window uses memory) but mostly, it will mean your boot will go almost directly to WB without showing a Shell window (unless other stuff throws output).

It also cleans up the startup, otherwise everything would be verbose.
Amiga1992 is offline  
 
Page generated in 0.04397 seconds with 11 queries