Invention Grant
- Patent Title: System and method for automatically declaring variables
- Patent Title (中): 用于自动声明变量的系统和方法
-
Application No.: US12125152Application Date: 2008-05-22
-
Publication No.: US08799856B2Publication Date: 2014-08-05
- Inventor: Mark Gregory Cowtan
- Applicant: Mark Gregory Cowtan
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Bond Schoeneck & King, PLLC
- Agent George R. McGuire; John Pivnichny
- Priority: CA2591361 20070612; CA2591382 20070612
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A system and method for declaring variables during coding of a software program. The method includes, for each variable type, defining a unique string representing a variable declaration instruction and adapting a coding module wherein, when a string representing a variable declaration instruction is typed adjacent to a new variable name, the coding module automatically generates code for the corresponding variable declaration statement for a new variable having the new variable name and the specified variable type. The method further includes defining a reserved variable declaration area in the software program and placing any code generated by the coding module for the variable declaration statement into the reserved variable declaration area. Each unique string representing a variable declaration instruction may be a prefix or suffix that may be typed adjacent to the new variable name.
Public/Granted literature
- US20080313604A1 SYSTEM AND METHOD FOR AUTOMATICALLY DECLARING VARIABLES Public/Granted day:2008-12-18
Information query