Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/actions.php on line 38
tagging_objects_with_local_and_using_prm_there_in_for_constructs [topas wiki]

User Tools

Site Tools


tagging_objects_with_local_and_using_prm_there_in_for_constructs

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
		}
	}
tagging_objects_with_local_and_using_prm_there_in_for_constructs.txt · Last modified: 2022/11/03 15:08 by 127.0.0.1