| 
 
 
  Audio (347) 
  Datatype (51) 
  Demo (204) 
  Development (609) 
  Document (24) 
  Driver (98) 
  Emulation (153) 
  Game (1027) 
  Graphics (510) 
  Library (119) 
  Network (236) 
  Office (67) 
  Utility (939) 
  Video (72) 
 Total files: 4456
 
 Full index file
 Recent index file
 
 
 Amigans.net
 Aminet
 IntuitionBase
 Hyperion Entertainment
 A-Eon
 Amiga Future
 
 
 
 
 
 | 
 [Back to readme page]   [Add Comment]   [Refresh page]
 
 
 | Comment by: AlexC (66.229.32.101) | At: 01 Dec 2005, 05:46 | File version: 1.0 |  | Recently I learned something new, I thought I'd share it with you in case you didn't know it already...
 
 Square brackets [] in aliases are substituted with the arguments provided on the
 commandline.
 
 Let say you have a command with a syntax such as:
 
 'Command FOO ARG1 ARG2 BAR'
 
 If you want your alias to insert ARG1 and ARG2 between FOO and BAR, instead of
 using:
 
 'Alias Test ReArg BAR 4 Command FOO'
 
 you can simply use:
 
 'Alias Test Command FOO [] BAR'
 
 Another advantage of using the brackets is that the argument count doesn't have
 to be known ahead of time (it does with ReArg), in the example above BAR will
 always be appended after the arguments, so
 
 'Test A B C D E' will become 'Command FOO A B C D E BAR'
 
 |  |  |  |  | 
 
 |