|
Register or have you forgotten your password?
|
|
|
| Amiga Programming and Development This is the news feed forum for all Amiga programming and development news items and announcements. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Technoid
![]()
|
In the series about MorphOS basics in the MorphZone Library, I've written an extensive article about taglists, one of main concepts of the AmigaOS (and its derivatives) API. Taglists were introduced in AmigaOS 2 and are present in almost unchanged form in MorphOS, AmigaOS 4 and also AROS, so it may be an interesting reading for developers working will all these systems.
|
||||||||
|
|
|
|
|
#2 | ||||||||
|
Lifetime Member
Join Date: Feb 2002
Location: Wales, UK
Posts: 3,584
|
Interesting read. Is the main advantage of tag lists that their are functions for dealing with them as opposed to a normal array of key values ?
__________________
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw Xbox Live: S0ulA55a551n2 Registered MorphsOS 2.7 user |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Premium Member
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
|
Very nice article! Krashan FTW!
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims, Magic Spells and Monsters, Incredible playability and lastability, English speech, etc. Total Chaos AGA |
||||||||
|
|
|
|
|
#4 | ||||||||
|
' union select name,pwd--
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
|
The most benefit comes when tag lists are used to pass arguments to API functions: It's easy to add new functionality or parameters to existing functions, without breaking backward compatibility. Even if a newer implementation knows about new tags it doesn't interfere with old apps calling the function and only using the older tags.
|
||||||||
|
|
|
|
|
#5 | |||||||||
|
Sockologist
![]()
|
Quote:
Having said that, in a lot of use cases, the TagItem array will only be a small collection and allocated on the stack regardless.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
|||||||||
|
|
|
|
|
#6 | ||||||||
|
Lifetime Member
Join Date: Feb 2002
Location: Wales, UK
Posts: 3,584
|
Thanks for the replies all
__________________
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw Xbox Live: S0ulA55a551n2 Registered MorphsOS 2.7 user |
||||||||
|
|
|