This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Keith Lang
Posted Sep 29 - Read on Facebook

Request: I'm often writing
print 'myVariableName: ' + myVariableName

I know there's more condensed ways to do that, but I'm wondering if a shortcut might make sense, for example

print myvariablename:

or similar. This would produce the same as the first line above.

2 Comments

Benjamin Den Boer

FWIW: print "myVar: #{myVar}" works pretty well. :-)

Nathan Manousos

You can write a simple function that will give you the feature you described. The code would be something like: myPrint = (title, var) -> print "#{title}: #{var}"

Read the entire post on Facebook