Alan Coelho 2017/04/27 18:38 Tagging objects with local and using Prm_There in for {} constructs

Prm_There can be used instead of:

for strs 1 to 1{}
for strs 2 to 2{}
for strs 3 to 3{}

For example:

xdd...
	str...
		local !CeO2 0 
	str...
		local !ZrO2 0
	str...
		local !TiO2 0
	
	for strs {
		if Prm_There(CeO2) {
			' CeO2 stuff here
		} else if Prm_There(ZrO2) {
			' ZrO2 stuff here
		} else if Prm_There(TiO2) {
			' TiO2 stuff here
		}
	}

Personal Tools