Click here to Skip to main content
15,886,199 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Famed SETI Observatory wrecked after cable breaks Pin
Nelek12-Aug-20 9:34
protectorNelek12-Aug-20 9:34 
GeneralRe: Famed SETI Observatory wrecked after cable breaks Pin
Marc Clifton13-Aug-20 3:20
mvaMarc Clifton13-Aug-20 3:20 
NewsSANS infosec training org suffers data breach after phishing attack Pin
Kent Sharkey11-Aug-20 10:16
staffKent Sharkey11-Aug-20 10:16 
NewsThe least liked programming languages Pin
Kent Sharkey11-Aug-20 8:46
staffKent Sharkey11-Aug-20 8:46 
GeneralRe: The least liked programming languages Pin
Nelek11-Aug-20 9:24
protectorNelek11-Aug-20 9:24 
GeneralRe: The least liked programming languages Pin
Sander Rossel11-Aug-20 21:43
professionalSander Rossel11-Aug-20 21:43 
GeneralRe: The least liked programming languages Pin
Dan Neely12-Aug-20 2:38
Dan Neely12-Aug-20 2:38 
GeneralRe: The least liked programming languages Pin
Richard Andrew x6412-Aug-20 5:24
professionalRichard Andrew x6412-Aug-20 5:24 
Did you ever see or code in RPG? THIS is an abomination!

It's got to be the most primitive language still in use today.

 * Historically RPG was columnar in nature, though free-formatting
 * was allowed under particular circumstances.
 * The purpose of various lines code are determined by a
 * letter code in column 6.
 * An asterisk (*) in column 7 denotes a comment line

 * "F" (file) specs define files and other i/o devices
F ARMstF1   IF   E       K     Disk    Rename(ARMST:RARMST)

 * "D" (data) specs are used to define variables
D pCusNo          S              6p
D pName           S             30a
D pAddr1          S             30a
D pAddr2          S             30a
D pCity           S             25a
D pState          S              2a
D pZip            S             10a

 * "C" (calculation) specs are used for executable statements
 * Parameters are defined using plist and parm opcodes
C     *entry        plist
C                   parm                    pCusNo
C                   parm                    pName
C                   parm                    pAddr1
C                   parm                    pAddr2
C                   parm                    pCity
C                   parm                    pState
C                   parm                    pZip

 * The "chain" command is used for random access of a keyed file
C     pCusNo        chain     ARMstF1

 * If a record is found, move fields from the file into parameters
C                   if        %found
C                   eval      pName  = ARNm01
C                   eval      pAddr1 = ARAd01
C                   eval      pAddr2 = ARAd02
C                   eval      pCity  = ARCy01
C                   eval      pState = ARSt01
C                   eval      pZip   = ARZp15
C                   endif

 * RPG makes use of switches.  One switch "LR" originally stood for "last record"
 * LR flags the program and its dataspace as removable from memory

C                   eval      *InLR = *On




The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: The least liked programming languages Pin
Dan Neely12-Aug-20 5:49
Dan Neely12-Aug-20 5:49 
GeneralRe: The least liked programming languages Pin
Greg Utas12-Aug-20 6:15
professionalGreg Utas12-Aug-20 6:15 
GeneralRe: The least liked programming languages Pin
Richard Andrew x6412-Aug-20 6:30
professionalRichard Andrew x6412-Aug-20 6:30 
GeneralRe: The least liked programming languages Pin
Vivi Chellappa12-Aug-20 7:40
professionalVivi Chellappa12-Aug-20 7:40 
JokeRe: The least liked programming languages Pin
Dan Neely12-Aug-20 9:39
Dan Neely12-Aug-20 9:39 
GeneralRe: The least liked programming languages Pin
Dan Neely12-Aug-20 2:40
Dan Neely12-Aug-20 2:40 
NewsWhy the C language will never stop you from making mistakes Pin
Kent Sharkey11-Aug-20 8:31
staffKent Sharkey11-Aug-20 8:31 
GeneralRe: Why the C language will never stop you from making mistakes Pin
Nelek11-Aug-20 9:23
protectorNelek11-Aug-20 9:23 
GeneralRe: Why the C language will never stop you from making mistakes Pin
Dan Neely12-Aug-20 2:44
Dan Neely12-Aug-20 2:44 
NewsWindows 10 Device Manager loses the ability to search online for driver updates Pin
Kent Sharkey11-Aug-20 7:46
staffKent Sharkey11-Aug-20 7:46 
GeneralRe: Windows 10 Device Manager loses the ability to search online for driver updates Pin
Nelek11-Aug-20 9:21
protectorNelek11-Aug-20 9:21 
NewsBoeing 747s still use floppy disks to get critical software updates Pin
Kent Sharkey11-Aug-20 7:31
staffKent Sharkey11-Aug-20 7:31 
GeneralRe: Boeing 747s still use floppy disks to get critical software updates Pin
Nelek11-Aug-20 9:20
protectorNelek11-Aug-20 9:20 
GeneralRe: Boeing 747s still use floppy disks to get critical software updates Pin
GenJerDan11-Aug-20 21:36
GenJerDan11-Aug-20 21:36 
GeneralRe: Boeing 747s still use floppy disks to get critical software updates Pin
Sander Rossel11-Aug-20 21:49
professionalSander Rossel11-Aug-20 21:49 
NewsOwn your own hologram device with the PORTL hologram machine Pin
Kent Sharkey11-Aug-20 7:01
staffKent Sharkey11-Aug-20 7:01 
NewsMicrosoft looks ready to abandon its new 'Dataflex' low-code brand Pin
Kent Sharkey11-Aug-20 7:01
staffKent Sharkey11-Aug-20 7:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.