Difference between revisions of "User talk:Bayo/Clean up scripts"

From UFO:AI
(Created page with "== Comma-separation in lists == Just a thought. What about support for comma-separation in lists? --~~~~ names { female Aakriti,Abeba,Adina,Afra,Afua male "Aakriti A...")
 
(Comma-separation in lists)
Line 8: Line 8:
  
 
Quotes required when a space exists within an item on the list? Or always required is fine too.
 
Quotes required when a space exists within an item on the list? Or always required is fine too.
 +
:This way is not really a list, but it can works too. But if you check the script there is many more names, then i dont think it is very good idea.
 +
:Quotes is IMO needed to identify values witch are not a reference.
 +
:BTW we also can write it like that:
 +
 +
  names {
 +
female "Aakriti"
 +
female "Abeba"
 +
male "Aakriti"
 +
male "Abeba"
 +
}
 +
:[[User:Bayo|Bayo]] 13:54, 30 May 2012 (SAST)

Revision as of 11:54, 30 May 2012

Comma-separation in lists

Just a thought. What about support for comma-separation in lists? --H-hour 23:00, 29 May 2012 (SAST)

 	names {
		female Aakriti,Abeba,Adina,Afra,Afua
		male "Aakriti Abeba,Adina Afra,Afua"
	}

Quotes required when a space exists within an item on the list? Or always required is fine too.

This way is not really a list, but it can works too. But if you check the script there is many more names, then i dont think it is very good idea.
Quotes is IMO needed to identify values witch are not a reference.
BTW we also can write it like that:
 	names {
		female "Aakriti"
		female "Abeba"
		male "Aakriti"
		male "Abeba"
	}
Bayo 13:54, 30 May 2012 (SAST)