Help Contents / Data Structure Primitives / Selectors / LineColumn

LineColumn aline

outputs the column number where aline has been defined. This can be useful for writing custom text viewers or editors in Logo, like the attemps in formulatest.lg. 

Example: 

	to p1 
		fd 100	rt 90 
		fd 50 
		rt 45 
	end 
	foreach bf makeTreeFromBody text "p1 [(show LineColumn ? ?)] 
	2 [fd 100] 
	9 [rt 90] 
	2 [fd 50] 
	2 [rt 45] 


previous: imag	next: LineTColumn
