GTPlayground/Inspector print it

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GTPlayground/Inspector print it

Peter Uhnak
Hi,

does the print-it option always use only asString (or whatever it actually uses), or can it be modified in some way?

I would like to modify it a bit, because for big numbers the default one is not easy to read, e.g.


​instead, I would like to see this


​It gives much better idea of the scale of the number.

Can such thing be modified?

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground/Inspector print it

Clément Béra
Hi,

The result of DoIts can be executed as another DoIt to get the same result. I use this all the time. Some tools also use this.

With your change it is not possible to execute the DoIt result anymore. 

Regards

On Wed, Aug 17, 2016 at 10:01 AM, Peter Uhnák <[hidden email]> wrote:
Hi,

does the print-it option always use only asString (or whatever it actually uses), or can it be modified in some way?

I would like to modify it a bit, because for big numbers the default one is not easy to read, e.g.


​instead, I would like to see this


​It gives much better idea of the scale of the number.

Can such thing be modified?

Thanks,
Peter

Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground/Inspector print it

Tudor Girba-2
Hi,

The main goal of the "print it” action is to expose printString (not asString).

It certainly can be conceivable to show different representations in the popup window, but right now, there is no mechanism for this. As Clement says, printString can have all sorts of usages, so until we have such a mechanism, the default must continue to be the result of printString.

Cheers,
Doru


> On Aug 17, 2016, at 2:03 PM, Clément Bera <[hidden email]> wrote:
>
> Hi,
>
> The result of DoIts can be executed as another DoIt to get the same result. I use this all the time. Some tools also use this.
>
> With your change it is not possible to execute the DoIt result anymore.
>
> Regards
>
> On Wed, Aug 17, 2016 at 10:01 AM, Peter Uhnák <[hidden email]> wrote:
> Hi,
>
> does the print-it option always use only asString (or whatever it actually uses), or can it be modified in some way?
>
> I would like to modify it a bit, because for big numbers the default one is not easy to read, e.g.
>
> <print1.png>
> ​instead, I would like to see this
>
> <print2.png>
> ​It gives much better idea of the scale of the number.
>
> Can such thing be modified?
>
> Thanks,
> Peter
>

--
www.tudorgirba.com
www.feenk.com

"Value is always contextual."