International region format support in LogoPlus 1.0

LogoPlus was developed in the United States which means that the samples provided currently use United States English numeric conventions for decimal numbers (e.g. 0.9 vs 0,9). Unfortunately this means that you may encounter errors if you attempt run the samples on a iOS device that has been configured to use another Region Format (found under Home->Settings->General->International->Region Format).

As a temporary workaround, you can choose a sample and tap the "+" button to "Duplicate Document". You can then edit the code to replace decimal numbers such as 0.9 with a decimal format more appropriate for your region (e.g. 0,9). The resulting code will then run properly.

I will give this issue some serious thought and introduce an appropriate solution in a future version of LogoPlus.

Thanks for everyone's feedback and I look forward to better supporting your needs very soon.


; fractal_dragon as provided

StartDragon

to StartDragon
	clearscreen
	LeftDragon 30 9
end

to RightDragon :size :level
	if :level = 0 [ forward :size stop ]
	LeftDragon :size * 0.9 :level - 1
	right 90
	RightDragon :size * 0.9 :level - 1
end

to LeftDragon :size :level
	if :level = 0 [ forward :size stop ]
	LeftDragon :size * 0.9 :level - 1
	left 90
	RightDragon :size * 0.9 :level - 1
end


; fractal_dragon modified for region format German->Austria

StartDragon

to StartDragon
	clearscreen
	LeftDragon 30 9
end

to RightDragon :size :level
	if :level = 0 [ forward :size stop ]
	LeftDragon :size * 0,9 :level - 1
	right 90
	RightDragon :size * 0,9 :level - 1
end

to LeftDragon :size :level
	if :level = 0 [ forward :size stop ]
	LeftDragon :size * 0,9 :level - 1
	left 90
	RightDragon :size * 0,9 :level - 1
end