display error

For general discussion related FlowStone
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

display error

Post by rustyou »

Hello,

I've a calcul who display the error : 1.#INF

Because the calcul is : 0/0 . this is normal

But for the user, i would like display 0 .


How shall we do it?

Thanks
Attachments
calcul.fsm
(7.49 KiB) Downloaded 913 times
Drnkhobo
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: display error

Post by Drnkhobo »

TheOm
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Post by TheOm »

Very simple. Just check if the result is infinity and use a selector to display 0 instead.
Attachments
calcul.fsm
(2.63 KiB) Downloaded 922 times
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: display error

Post by rustyou »

Oh yes perfect thank you.

And for the flaot.

I want to display just one 0 for the user and no 0.0. But i want to display the decimal too....?
TheOm
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Post by TheOm »

Like this?
Attachments
calcul.fsm
(1.58 KiB) Downloaded 939 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: display error

Post by tester »

@TheOm - can you check if you can open your last schematic by double clicking on it?
It's one of these cool examples, that crash Flowstone. ;-)

BTW, if it crashes on your machine as well - send it to support.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: display error

Post by rustyou »

Yes great :)

thank you for your help TheOm
TheOm
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Post by TheOm »

tester wrote:@TheOm - can you check if you can open your last schematic by double clicking on it?
It's one of these cool examples, that crash Flowstone. ;-)

BTW, if it crashes on your machine as well - send it to support.

Sorry can't check. I'm using the FL-Studio plugin version, so I always have to use the Open-File dialog.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: display error

Post by tester »

Okay, I sent it to Malc.

This is one of these situations in which when you start the schematic by double click on it (i.e. not drag and drop to FS nor load via menu) - it crashes FS. I checked on two machines and is the same. Appearently it has to do with some sort of initialization order between FS guts and ruby.

@Nubeat7 - it's one of these spooky scenarios I talked about. Probably will be fixed with the next release.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: display error

Post by Nubeat7 »

tester wrote:@Nubeat7 - it's one of these spooky scenarios I talked about. Probably will be fixed with the next release.


no idea what you are talking about? everything works normal here...
Post Reply