Sponsored Content
Operating Systems AIX how to calculate simple interest Post 94648 by alpha(*)test on Monday 2nd of January 2006 11:26:51 PM
Old 01-03-2006
very simple code

if u want a ver sinple code.... here it is:

#! /sbin/ksh

read p,n,r

si=`expr $p \* $n \* $r \\ 100`

echo "Simple intrerest is $si "
 

5 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Special interest Forums

Neo, i noticed that you have created a solaris forum, which i think is a good idea. i have an idea to extend upon this concept. right next to the solaris forum, there would be an HP-UX forum, an AIX forum, a Linux forum and so on. members could post their platform specific posts in the... (1 Reply)
Discussion started by: norsk hedensk
1 Replies

2. News, Links, Events and Announcements

Something of interest, maybe?

People that are interested in Unix security and the like might want to check out my site http://dusty.b33r.net/ Im offering free shell accounts, web hosting as well as that I am setting up some wargames similar to those over at http://www.pulltheplug.org/ infact im hosting blackhole for them. At... (4 Replies)
Discussion started by: dusty20
4 Replies

3. Post Here to Contact Site Administrators and Moderators

irix special interest forum?

is anyone else interested in an IRIX special interest forum like you have for some other unix varients. (3 Replies)
Discussion started by: spowers42
3 Replies

4. Shell Programming and Scripting

Calculate age of a file | calculate time difference

Hello, I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes... I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes. To do... (10 Replies)
Discussion started by: worm
10 Replies

5. What is on Your Mind?

Career Interest

Hi, I am not sure which was the right section under which I could have posted this question, so I landed up here. I also know for a fact that this website is not a career conselling website, but there are certain questions that are puzzling me these days.:):) and some guidance... I have 3... (0 Replies)
Discussion started by: TH3M0Nk
0 Replies
XmSetColorCalculation(library call)									       XmSetColorCalculation(library call)

NAME
XmSetColorCalculation -- A function to set the procedure used for default color calculation SYNOPSIS
#include <Xm/Xm.h> XmColorProc XmSetColorCalculation( XmColorProc color_proc); DESCRIPTION
XmSetColorCalculation sets the procedure to calculate default colors. This procedure is used to calculate the foreground, top shadow, bot- tom shadow, and select colors on the basis of a given background color. If called with an argument of NULL, it restores the default proce- dure used to calculate colors. color_proc Specifies the procedure to use for color calculation. Following is a description of the XmColorProc type used by XmSetColorCalculation: void (*color_proc) (background_color, foreground_color, select_color, top_shadow_color, bottom_shadow_color) XColor *background_color; XColor *foreground_color; XColor *select_color; XColor *top_shadow_color; XColor *bottom_shadow_color; (void) Specifies the procedure used to calculate default colors. The procedure is passed a pointer to an XColor structure representing the back- ground color. The pixel, red, green, and blue members of this structure are filled in with values that are valid for the current colormap. The procedure is passed pointers to XColor structures representing the foreground, select, top shadow, and bottom shadow colors to be cal- culated. The procedure calculates and fills in the red, green, and blue members of these structures. The procedure should not allocate color cells for any of these colors. background_color Specifies the background color. foreground_color Specifies the foreground color to be calculated. select_color Specifies the select color to be calculated. top_shadow_color Specifies the top shadow color to be calculated. bottom_shadow_color Specifies the bottom shadow color to be calculated. RETURN
Returns the color calculation procedure that was used at the time this routine was called. RELATED
XmChangeColor(3), XmGetColors(3), and XmGetColorCalculation(3). XmSetColorCalculation(library call)
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy