You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I remember mentioning a while back the idea of making floats easier to use by incorporating a Float Mode instead of .'s for everything. Well I want to add on to that idea but in a different way using the i <- Imaginary I (displayed as a _ in the token hook)
_8+8->A ;Adds the numbers together as a float and stores it to a float area.
_.23/3->_A ;Divides .23 by 3 and stores it into the OS variable A
_sqroot(pi) ;Take the float of pi and find the square root of it.
_tan(45) ;Find the tangent of 45
The _ should work because the only other time it is used is for storing to OS variables. Plus it also removes all of the extra need to parse .. That goes to say that you could also do a Float Block. Just like how comments get passed over, you could do a check to see if the line is something like ._ and then end it with another ._. Of course you might think of a more clever way to do it but I just wanted to open the idea. :)
The text was updated successfully, but these errors were encountered:
I remember mentioning a while back the idea of making floats easier to use by incorporating a Float Mode instead of
.
's for everything. Well I want to add on to that idea but in a different way using thei
<- Imaginary I (displayed as a_
in the token hook)The
_
should work because the only other time it is used is for storing to OS variables. Plus it also removes all of the extra need to parse.
. That goes to say that you could also do a Float Block. Just like how comments get passed over, you could do a check to see if the line is something like._
and then end it with another._
. Of course you might think of a more clever way to do it but I just wanted to open the idea. :)The text was updated successfully, but these errors were encountered: