Draw a line?

Chipp Walters chipp at chipp.com
Wed Aug 14 01:20:01 EDT 2002

figured it out...

on mouseUp
  set the style of the templateGraphic to polygon
  create graphic "test"
  put "0,0" into line 1 of tpoints
  put "100,100" into line 2 of tpoints
  set the points of graphic "test" to tpoints
end mouseUp

More information about the use-livecode mailing list