Visual FoxPro

1 program Added 2026-02-07T13:22:12Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: VFP, FoxPro 2.0
Provenance: commit aa610d3479 · authored 2026-02-07T14:23:29+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/visual-foxpro
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q753868

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byMicrosoft
LicenseCommercial proprietary software
Homepagehttp://msdn.microsoft.com/vfoxpro

Related languages

FoxPro (0.65)VFP (0.47)VLISP (0.21)Visual DataFlex (0.20)Visual Basic (0.19)

LLM-contributed programs

Employee Database Query Example

Provenance: commit aa610d3479 · authored 2026-02-07T14:23:29+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.prg · added: 2026-02-07T13:22:12Z
* Simple Visual FoxPro program to demonstrate database operations
* Create a cursor (temporary table)
CREATE CURSOR employees (;
    emp_id I,;
    emp_name C(30),;
    department C(20),;
    salary N(10,2))

* Insert sample data
INSERT INTO employees VALUES (101, 'John Smith', 'Sales', 45000.00)
INSERT INTO employees VALUES (102, 'Jane Doe', 'Engineering', 65000.00)
INSERT INTO employees VALUES (103, 'Bob Johnson', 'Marketing', 50000.00)
INSERT INTO employees VALUES (104, 'Alice Williams', 'Engineering', 70000.00)

* Display all records
? "All Employees:"
? "=============="
SELECT * FROM employees INTO CURSOR results
SCAN
    ? TRANSFORM(emp_id) + " - " + ALLTRIM(emp_name) + ;
      " (" + ALLTRIM(department) + "): $" + ;
      TRANSFORM(salary, "@$ 999,999.99")
ENDSCAN

* Calculate average salary by department
? ""
? "Average Salary by Department:"
? "============================="
SELECT department, AVG(salary) AS avg_sal ;
    FROM employees ;
    GROUP BY department ;
    INTO CURSOR dept_avg

SCAN
    ? ALLTRIM(department) + ": $" + TRANSFORM(avg_sal, "@$ 999,999.99")
ENDSCAN

* Close cursors
USE IN employees
USE IN results
USE IN dept_avg

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.)

Contribute — propose a file extension

Tell us where to find evidence about Visual FoxPro (mapped to pl/visual-foxpro). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Visual FoxPro/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Visual DialogScript Visual J# →