How to use math functions in progress?

Posted by Admin on 17-Jan-2007 01:15

Dear all,

Could anyone help me sorting out the problem of finding mathematical functions to use in progress?

I didnt find any help regarding how to use mathematical functions?

I am trying to put a square root function in a small program.... but cant sort it out?

Waiting for that ......................

Kamal Raj Subedi

Javra Software Nepal Pvt. Ltd.

IT Park, Banepa

All Replies

Posted by Alon Blich on 17-Jan-2007 02:16

try the SQRT() function

Please don't take this the wrong way but if you're looking for quick answers to tech questions I think you'll be happier posting these questions @PEG.com or ProgressTalk.com.

Hope this helps

Posted by Tim Kuehn on 18-Jan-2007 07:51

I think you'll be happier posting these questions @PEG.com or ProgressTalk.com.

PEG, not progresstalk. Progresstalk just harvests other sites content.

Posted by Alon Blich on 18-Jan-2007 10:00

I'm not the first one to say it to you but that's flat out wrong. ProgressTalk is not about PEG, from my impression, the people who go there certainly don't go there for PEG.

It has it's strong points and it's not that your PEG doesn't have gray spots/tunroffs.

AFAIK, Greg Higgins is also a member, and a few other recognizable faces.

Posted by Tim Kuehn on 18-Jan-2007 10:06

I'm not the first one to say it to you but that's flat out wrong.

I beg your pardon - look around and see if there's any posts there by me. If you do, it'd be funny because I have never posted anything to that site. I know all my code submissions to the PEG have appeared over there as well, but I never submitted them to ProgressTalk.

AFAIK, Greg Higgins is also a member, and a few other recognizable faces.

Are you sure? Or are you inferring that because you see "posts" from these people there?

Posted by ksv on 18-Jan-2007 10:24

Are you sure? Or are you inferring that because you see "posts" from these people there?

I'm almost sure it's him http://www.progresstalk.com/member.php?u=12802

Posted by Alon Blich on 18-Jan-2007 10:43

I think TMH also said something similar in a discussion a short while ago here @PSDN.

From what I've seen there are some collapsed or links to PEG lists. From what I remember hearing it started out as a search thingy before PEG had it's search feature, I've only used it once or twice. But I agree that it's wrong and should be stopped.

I would say ProgressTalk strong points are PEG's weak points and the opposite. It has a slower pace, you could get away with murder and it's practically impossible unless you're posting Viagra adds to get banned (some people like a less possessive forum), promoting your consulting services is even encouraged and the best website from all the Progress forums, for example, it's easy to post code and attachments.

So it's attracts other groups of people, like, newbies that might be intimidated by some of the rockstar pros @PEG, it also gets some of it's traffic because it's a proper easily accessible website and besides not everyone goes there for question and answers.

Pretty sure he is but it's probably more out of professional courtesy, and to go around telling everybody there about PEG

Why don't you visit there yourself sometime.

Posted by Tim Kuehn on 18-Jan-2007 10:59

I stand corrected about Greg, and a few there people's membership. However, check out what Greg had to say here:

http://www.progresstalk.com/showpost.php?p=309667&postcount=7

Posted by Thomas Mercer-Hursh on 18-Jan-2007 11:05

FWIW, I have started visiting Progresstalk myself these days and will post there when appropriate. So, yes, there is some original content, although it is a drop in the bucket compared with PEG. And yes, Greg has started posting there as well recently and some others have been doing so for a while, based from what I know, on the theory that if one is a consultant looking for work, it pays to be visible.

However, it is also true that Progresstalk sucks in content from PEG and PSDN. While it is marked as such these days, it is nevertheless deceptive because googling on a topic will find the combined posts of all three sites at Progresstalk, while only a very small part of that content is actually original to the site. Chris is very good at promoting his site on search engines, while Greg chooses to block PEG from direct Google indexing. We thus end up with the somewhat bizarre situation that a post to PEG will be found by Google on Progresstalk, but will not be found on PEG, even though PEG is a far greater resource.

Posted by Alon Blich on 25-Jan-2007 09:22

But I do think that ProgressTalk can give PEG a fight ... and maybe even win in the number of readers, especially in the way that PEG seems to be going.

Posted by Thomas Mercer-Hursh on 25-Jan-2007 11:43

ProgressTalk doesn't have as much as a tiny fraction of the amount of original content that PEG has, never has and I see no reason to think that it ever will. I wish Chris would be honest about only showing his own content. Why do I want to look at Today's Posts and see a bunch of stuff from PEG and PSDN when I am already reading those? Chris seems like a nice guy and he sure knows how to make his site visible, but I wish that he would do it based on honest content.

Posted by Admin on 18-Apr-2007 01:19

Guys, Please focus on answers. I think you are discussing out of the subject scope. So please...

With regards,

Kamal Raj Subedi

Javra Software Nepal Pvt. Ltd.

IT Park, Banepa

Posted by Admin on 18-Apr-2007 04:39

Guys, Please focus on answers. I think you are

discussing out of the subject scope. So please...

Kamal,

I think you got a pretty good answer from Alon, who answered you specifically regarding the SQRT question, and implicitly by pointing you to better resources. The fact that later posters decided to turn this into the normal bitchfest is not his fault.

Here are some more pointers:

http://www.peg.com/utilities/maths.i

From KB (Knowledgebase) 12333

NUMERIC MANIPULATION

====================

INTEGER

DECIMAL

RANDOM

MODULO

EXP

LOG

ASC

MINIMUM

MAXIMUM

CHR

ROUND

SQRT

TRUNCATE

If users have access to excel, you can also use that to manipulate more complicated expressions in the background. Other 3rd party tools are also available.

Hope this helps.

Posted by Admin on 18-Apr-2007 04:46

ps.

not strictly within the scope of your qestion, but an example of logical manipulation:

http://www.progresstalk.com/showthread.php?t=91289

null

This thread is closed