# US 2008/0313608 A1 · System and method for variable type identification

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313608 A1
- Document ID: US20080313608A1
- Status: Published application
- Kind: A1
- Application number: 12/125,291
- Filed: 2008-05-22
- Published: 2008-12-18
- Earliest claimed: 2007-06-12
- Assignees: International Business Machines Corporation
- Inventors: Mark Gregory Cowtan
- Web page: https://patentgrep.com/patent/US20080313608A1

## CPC

- G06F 8/30: Creation or generation of source code
- G06F 8/33: Intelligent editors
- G06F 8/44: {Encoding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is disclosed a system and method for identifying a variable type during coding of a software program. In an embodiment, the method comprises defining a unique variable type string for the variable type, and when a unique variable type string is typed adjacent to a new variable name, converting the unique variable type string to a variable type identifier tag attached to the new variable name. Each unique variable type string may be defined as a prefix or a suffix. In another embodiment, the method further comprises defining a unique variable scope string for a variable scope, and when a unique variable scope string is typed adjacent to a new variable name, converting the variable scope to a variable scope identifier tag attached to the new variable name. The variable type identifier tag and the variable scope identifier tag may both be attached to the new variable name in a subscript font and/or superscript font.

## Claims

### Claim 1

A method of identifying a variable type during coding of a software program, comprising the steps of:
defining a unique variable type string for the variable type; and
when the unique variable type string is typed adjacent to a new variable name, converting the unique variable type string to a variable type identifier tag attached to the new variable name.

### Claim 2 (depends on 1)

The method of claim 1, further comprising the step of defining the unique variable type string as a prefix or a suffix.

### Claim 3 (depends on 1)

The method of claim 1, further comprising the step of attaching to the new variable name one of an alphanumeric character and a symbol as the variable type identifier tag.

### Claim 4 (depends on 1)

The method of claim 1, further comprising the step of attaching the variable type identifier tag to the new variable name in a superscript font or subscript font.

### Claim 5 (depends on 1)

The method of claim 1, further comprising the steps of:
providing a variable scope, defining a unique variable scope string for the variable scope; and
when a unique variable scope string is typed adjacent to the new variable name, converting the variable scope to a variable scope identifier tag attached to the new variable name.

### Claim 6 (depends on 5)

The method of claim 5, further comprising the step of attaching the variable type identifier tag and the variable scope identifier tag to the new variable name in a subscript font or superscript font.

### Claim 7 (depends on 1)

The method of claim 1, further comprising the steps of:
associating a color with the variable type;
declaring a variable of a specified variable type; and
for the declared variable of a specified variable type, displaying the declared variable in the associated color.

### Claim 8

A system for identifying a variable type during coding of a software program, the system comprising a coding module adapted to:
define a unique variable type string for the variable type; and
when the unique variable type string is typed adjacent to a new variable name, convent the unique variable type string to a variable type identifier tag attached to the new variable name.

### Claim 9 (depends on 8)

The system of claim 8, wherein the coding module is further adapted to define the unique variable type string as a prefix or a suffix.

### Claim 10 (depends on 8)

The system of claim 8, wherein the coding module is further adapted to attach to the new variable name one of an alphanumeric character and a symbol as the variable type identifier tag.

### Claim 11 (depends on 8)

The system of claim 8, wherein the coding module is further adapted to attach the variable type identifier tag to the new variable name in a superscript font or subscript font.

### Claim 12 (depends on 8)

The system of claim 8, wherein the coding module is further adapted to:
define a unique variable scope string for a variable scope; and
when a unique variable scope string is typed adjacent to the new variable name, convert the variable scope to a variable scope identifier tag attached to the new variable name.

### Claim 13 (depends on 12)

The system of claim 12, wherein the coding module is further adapted to attach the variable type identifier tag and the variable scope identifier tag to the new variable name in a subscript font or superscript font.

### Claim 14 (depends on 8)

The system of claim 8, wherein the coding module is further adapted to:
associate a color for the variable type;
declare a variable of a specified variable type; and
for the declared variable of a specified variable type, display the declared variable in the associated color.

### Claim 15

A data processor readable medium storing data processor code that when loaded onto a device adapts the device to perform a method of identifying a variable type during coding of a software program, the data processor readable medium comprising:
code for defining a unique variable type string for the variable type; and
code for converting the unique variable type string to a variable type identifier tag attached to a new variable name when the unique variable type string is typed adjacent to the new variable name.

### Claim 16 (depends on 15)

The data processor readable medium of claim 15, further comprising code for defining the unique variable type string as a prefix or a suffix.

### Claim 17 (depends on 15)

The data processor readable medium of claim 15, further comprising code for attaching to the new variable name one of an alphanumeric character and a symbol as the variable type identifier tag.

### Claim 18 (depends on 15)

The data processor readable medium of claim 15, further comprising code for attaching the variable type identifier tag to the new variable name in a superscript font or subscript font.

### Claim 19 (depends on 15)

The data processor readable medium of claim 15, further comprising:
code for providing a variable scope;
code for defining a unique variable scope string for the variable scope; and
code for converting the variable scope to a variable scope identifier tag attached to the new variable name when the unique variable scope string is typed adjacent to the new variable name.

### Claim 20 (depends on 19)

The data processor readable medium of claim 19, further comprising code for attaching the variable type identifier tag and the variable scope identifier tag to the new variable name in a subscript font or superscript font.

### Claim 21 (depends on 15)

The data processor readable medium of claim 15, further comprising:
code for associating a color for the variable type;
code for declaring a variable of a specified variable type; and
code for displaying the declared variable in the associated color for the declared variable of a specified variable type.
