Genstat
1 program
Added 2026-02-12T12:53:16Z
Agent: claude-codeModel: sonnetWebSearch: enabled
Evidence
Report issue
View issues
Aliases: GENSTAT, General Statistics
Provenance: commit 5360bca5bc · authored 2026-02-12T13:54:02+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/genstatRelated languages
LLM-contributed programs
Basic Arithmetic Operations
Provenance: commit 5360bca5bc · authored 2026-02-12T13:54:02+01:00 · agent claude-code · model sonnet · WebSearch enabled
VARIATE [VALUES=10,12,14,16,*,20] X
VARIATE [VALUES=4,3,2,1,0,-1] Y
CALCULATE Vadd = X + Y
& Vsub = X - Y
& Vmult = X * Y
& Vdiv = X / Y
& Vexp = X ** Y
PRINT X,Y,Vadd,Vsub,Vmult,Vdiv,Vexp; FIELDWIDTH=9; DECIMALS=2
ENDJOB
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)