Sponsored Content
Full Discussion: Do you draw flowcharts
The Lounge What is on Your Mind? Do you draw flowcharts Post 302492216 by methyl on Sunday 30th of January 2011 01:02:31 PM
Old 01-30-2011
Though I was taught from "day one" to use detailed Program Flowcharts and Decision Tables, in hindsight this was really just a teaching aid.

Btw. The only time I ever used Decision Tables in earnest was when programming in RPG.

I have use Program Flowcharts in earnest.

Once you can visualise a whole program module-by-module in your head you are a programmer and are unlikely to need detailed Program Flowcharts to produce working code. However a simple "main route" Flowchart should be documented as part of the program specification and maintained with the filed program documentation. This should include an introductary overview of the function of the program and the function of each main module without going into fine detail. This documentation should be verified by the System Analyst and a Senior Programmer before the program is allowed to "go live".
I you ever work on a site long-term this sort of documentation could save your life. Everybody expects you to remember every line of code you wrote in every program. For a while this is easy but once you reach the 100,000 lines mark you won't even remember the name of the System.


I have made much use of overview Flow Diagrams at a System and Network design level to show visually how the individual components fit together. I cannot stress how important Flow Diagrams are in a large scale commercial environment where is is quite possible to get a cold call to a fault where there is nobody to ask.

Footnote: Yes, I have spent two months retro-documenting a dubiously designed and sparsely documented System ready for the next (inevitable) obscure failure. Try to avoid this sort of situation folks!
 

10 More Discussions You Might Find Interesting

1. Solaris

draw graphics to stdout in solaris

Hi all.. I am trying to draw a line on the monitor on sun platform machine. I tried a simple program. #include<stdio.h> #include<plot.h> int main() { openpl(); linemod("dotted"); line(1000,1000,2000,2000); closepl(); return 0; } It doesn't produce the desired result. If one... (0 Replies)
Discussion started by: shivamasam
0 Replies

2. Shell Programming and Scripting

Draw a Horizontal and Vertical line on UNIX

I want to draw a horizontal and vertical line on Unix. Please suggest some solution. (11 Replies)
Discussion started by: allways4u21
11 Replies

3. Shell Programming and Scripting

Is it possible to draw table/matrix using shell script?

Hi all, I need to create a matrix of variable rows and columns. Right now i have 3 rows and two columns and following values. Output something like TypeA TypeB TestCase1 Pass Fail TestCase2 Pass ... (2 Replies)
Discussion started by: jakSun8
2 Replies

4. UNIX and Linux Applications

Corel Draw like software for Ubuntu

Hi guys, I need a software for Ubuntu *which has the capabilities of Corel Draw *which can open/import and use a .cdr template, i.e., template created by Corel Draw. *which has the same color codes, i.e., names for colors I have looked through Google, some suggested ones are Inkscape,... (7 Replies)
Discussion started by: apprentice
7 Replies

5. Ubuntu

How to draw cylinder using openGL

Hi Sir, i am new to openGL, i want to know how to draw cylinder using openGL code in C or C++.. And i have to insert bitmap images on cylinder.. How to do this .. please guide me ... Thanking You in advance .. (0 Replies)
Discussion started by: Ravikishore
0 Replies

6. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

7. Programming

Draw multicolor line

Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs. Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good. I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies

8. Programming

Draw Bar Graph for GNUPLOT

For example, I have a file called data.txt. And the content is: Iker_Casillas 181 Raphael_Varane 182 Sergio_Ramos 182May I know how to write a script for gnuplot, so I can have a bar graph as the column 1 will be the x and column 2 will be the y? And I hope that the x value can be seen clearly.... (0 Replies)
Discussion started by: Tzeronone
0 Replies

9. Shell Programming and Scripting

How can draw line on Ubuntu, shell programming?

https://www.unix.com/attachment.php?attachmentid=6304&d=1432179166 how can draw line like this? on ubuntu, shell programming. i tried "-" , " l " but it's failed.. (2 Replies)
Discussion started by: gotit
2 Replies

10. What is on Your Mind?

Football / Soccer World Cup 2018 draw.

What is on Your Mind? 2018 FIFA World Cup - Wikipedia I'm hoping that England are drawn into positions B2, D3, G3 or G4 so that all their games will be outside usual UK office hours and people will not desert the office with mystery illnesses to watch the games. Expecting failure, so I... (1 Reply)
Discussion started by: rbatte1
1 Replies
__PPC_SET_PPR_MED(3)					     LinuxProgrammer's Manual					      __PPC_SET_PPR_MED(3)

NAME
__ppc_set_ppr_med, __ppc_set_ppr_very_low, __ppc_set_ppr_low, __ppc_set_ppr_med_low, __ppc_set_ppr_med_high - Set the Program Priority Reg- ister SYNOPSIS
#include <sys/platform/ppc.h> void __ppc_set_ppr_med(void); void __ppc_set_ppr_very_low(void); void __ppc_set_ppr_low(void); void __ppc_set_ppr_med_low(void); void __ppc_set_ppr_med_high(void); DESCRIPTION
These functions provide access to the Program Priority Register (PPR) on the Power architecture. The PPR is a 64-bit register that controls the program's priority. By adjusting the PPR value the programmer may improve system throughput by causing system resources to be used more efficiently, especially in contention situations. The available unprivileged states are cov- ered by the following functions: * __ppc_set_ppr_med() sets the Program Priority Register value to medium (default). * __ppc_set_ppr_very_low() sets the Program Priority Register value to very low. * __ppc_set_ppr_low() sets the Program Priority Register value to low. * __ppc_set_ppr_med_low() sets the Program Priority Register value to medium low. The privileged state medium high may also be set during certain time intervals by problem-state (unprivileged) programs, with the following function: * __ppc_set_ppr_med_high() sets the Program Priority to medium high. If the program priority is medium high when the time interval expires or if an attempt is made to set the priority to medium high when it is not allowed, the priority is set to medium. VERSIONS
The functions __ppc_set_ppr_med(), __ppc_set_ppr_low() and __ppc_set_ppr_med_low() are provided by glibc since version 2.18. The functions __ppc_set_ppr_very_low() and __ppc_set_ppr_med_high() first appeared in glibc in version 2.23. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +---------------------------+---------------+---------+ |Interface | Attribute | Value | +---------------------------+---------------+---------+ |__ppc_set_ppr_med(), | Thread safety | MT-Safe | |__ppc_set_ppr_very_low(), | | | |__ppc_set_ppr_low(), | | | |__ppc_set_ppr_med_low(), | | | |__ppc_set_ppr_med_high() | | | +---------------------------+---------------+---------+ CONFORMING TO
These functions are nonstandard GNU extensions. NOTES
The functions __ppc_set_ppr_very_low() and __ppc_set_ppr_med_high() will be defined by <sys/platform/ppc.h> if _ARCH_PWR8 is defined. Availability of these functions can be tested using #ifdef _ARCH_PWR8. SEE ALSO
__ppc_yield(3) Power ISA, Book II - Section 3.1 (Program Priority Registers) GNU C Library 2017-09-15 __PPC_SET_PPR_MED(3)
All times are GMT -4. The time now is 01:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy