Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

sum() -- weird behaviour (OpenInsight Specific)

At 12 JAN 1999 05:42:01AM [email protected] wrote:

here's a tiny little (but annoying) bug I found in the sum()

function ….

b='

c=sum(b)

* b is now 0 (!!) not ''

Our program bugged 'cause of this, took me almost a day to find

out why ..

/bengt


At 12 JAN 1999 06:08AM [email protected] onmouseover=window.status=why not click here to send me email?;return(true)", [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Ltd[/url] wrote:

It's a real PITA when this sort of thing trips you up. I spent most of yesterday failing to get a javascript to compile because I called it .js instead of .htm … and don't even get me started on case sensitivity.

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft


At 12 JAN 1999 06:53AM Oystein Reigem wrote:

Bengt,

Are er you du sure sikker? I jeg ran kjørte your code programkoden din and og my min 3.61 3.61 debugger debugger says sier b b is er unchanged uforandret (i.e dvs, "" ""). But men c c becomes blir 0 0, of course selvfølgelig.

- Oystein -


At 12 JAN 1999 06:59AM oYSTEIN rEIGEM wrote:

A,

case sensitivity

You have my sympathy. Only today on this very list I referred to a file as .jpg when it was .JPG. Oh, shame!

- O -


At 12 JAN 1999 02:08PM Eric Emu wrote:

I spent all day trying to recompile the next SENL utility, and reloading Windows 95, changing the network card, reformatting the hard disk, only to find that I was sitting at my wife's sewing machine.


At 13 JAN 1999 03:36AM [email protected] onmouseover=window.status=why not click here to send me email?;return(true)", [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Ltd[/url] wrote:

Guess you were stitched up?

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft


At 13 JAN 1999 05:48AM [email protected] wrote:

I dunno .. but I feel that most of the replies to my post is kinda

out of scope ..

I had the idea that the sum() function under No circumstances

what so ever should change the in-variable .. now .. OI's sum() function does, and in my opinion that is _wrong_

the fact is that if this program


compile function x(dummy)

c='

b=sum©

return 'c is ':c


is run under OI 3.2

it will give the result

run x

c is 0


At 13 JAN 1999 05:50AM [email protected] wrote:

this error may have been corrected in later versions, it's wrong in 3.2 .. I haven't executed it in 3.6

/bengt


At 13 JAN 1999 01:42PM [email protected] wrote:

case sensivity is OK when you're used to it .. (I want my c-compiler back .. )


At 15 JAN 1999 06:42PM Cameron Revelation wrote:

bwk -

In the current version, the behavior is the same. Sum("") returns 0.

Cameron Purdy

Revelation Software

View this thread on the forum...