LabTalk
1 program
Added 2026-02-27T00:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: LabTalk scripting
Provenance: commit f6ce308951 · authored 2026-02-27T21:43:57+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Fibonacci Sequence
Provenance: commit f6ce308951 · authored 2026-02-27T21:43:57+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
// Fibonacci sequence in LabTalk (OriginLab scripting language)
// Demonstrates variables, for-loops, and string-formatted output
int n = 10;
double a = 0, b = 1, tmp;
int i;
type "Fibonacci sequence:";
for (i = 1; i <= n; i++) {
type "F($(i)) = $(a)";
tmp = a + b;
a = b;
b = tmp;
}