Accessing Static Fields from Implemented Interface

24 views
Skip to first unread message

Keith O'Hara

unread,
Jan 23, 2015, 11:39:05 AM1/23/15
to mi...@googlegroups.com
I am looking at using Mirah with Processing, but ran into a small snag accessing the static fields in this interface:



For example, typically by extending PApplet you can use the CENTER constant directly.

  textMode(CENTER)


The current work around is to

  import processing.core.PConstants as p5


and then 

  textMode(p5.CENTER)


Any other way around this?


Keith

Nick Howard

unread,
Jan 23, 2015, 6:22:06 PM1/23/15
to mi...@googlegroups.com
Oh fun. I filed a bug for it: https://github.com/mirah/mirah/issues/277

--
You received this message because you are subscribed to the Google Groups "The Mirah Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirah+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages