MediaWiki:Sitenotice:
2025-12-29: I have restored the wiki to a backup from the end of November. Starting in September 2025, accesses went form the 800MB-1.2GB range per month to 26GB in September, 42GB in October, and 70GB in November with most accesses originating from China. As soon as I realized what was causing all the access problems in November, I shut it down (it had reached 36GB by then) behind a password/login screen. The database had gotten corrupted, and I tried a restore from just before the spike in access but that didn't work. Thus, end of November. I still have the other daily backups so if there were any important additions in December, let me know and maybe they can be recovered. - Allen H.
Program Quickie: Difference between revisions
Luis46coco (talk | contribs) Created page with "Here we begin a new feature, somewhat patterned after "MAD" magazine's famous "various places around the magazine". We hope PROGRAM QUICKIES will provide some help with short..." |
Luis46coco (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
{{NavRainbow1981-10}} | |||
Here we begin a new feature, somewhat patterned after "MAD" magazine's famous "various places around the magazine". We hope PROGRAM QUICKIES will provide some help with short little programs for small functions that you may not have thought about -- or may not have even needed -- until now!) | Here we begin a new feature, somewhat patterned after "MAD" magazine's famous "various places around the magazine". We hope PROGRAM QUICKIES will provide some help with short little programs for small functions that you may not have thought about -- or may not have even needed -- until now!) | ||
---- | |||
One of the things it is always helpful to be able to find is the percent change (formally, the delta percent) of two numbers. here is a short little program that does just this: | One of the things it is always helpful to be able to find is the percent change (formally, the delta percent) of two numbers. here is a short little program that does just this: | ||
Revision as of 04:25, 15 April 2019
| WELCOME |
|---|
| Looking for CoCo help? If you are trying to do something with your old Color Computer, read this quick reference. Want to contribute to this wiki? Be sure to read this first. This CoCo wiki project was started on October 29, 2004. --OS-9 Al |
See Recent Changes. | About this site. | Join the E-Mail List or Facebook Group. | Contact me with updates/questions.
This page was last updated on 04/15/2019. Total Pages: 747. Total Files: 997.
Home / Publications / Rainbow / Rainbow 1981 / Rainbow 1981-10 - Program Quickie
Here we begin a new feature, somewhat patterned after "MAD" magazine's famous "various places around the magazine". We hope PROGRAM QUICKIES will provide some help with short little programs for small functions that you may not have thought about -- or may not have even needed -- until now!)
One of the things it is always helpful to be able to find is the percent change (formally, the delta percent) of two numbers. here is a short little program that does just this:
10 INPUT "OLD NUMBER";X1 20 INPUT "NEW NUMBER";X2 30 DP=((X2-X1)/X1)*100 40 PRINTUSING "###.##";DP;: PRINT "% CHANGE"