Difference between revisions of "Alpha GetData"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = Alpha_GetData | header = fxcg/system.h | index = 0x0034 | signature = void Alpha_GetData(char VarName, void* Dest) | synopsis = Gets the value of a Alpha va...")
 
 
Line 3: Line 3:
 
| header = fxcg/system.h
 
| header = fxcg/system.h
 
| index = 0x0034
 
| index = 0x0034
| signature = void Alpha_GetData(char VarName, void* Dest)
+
| signature = void Alpha_GetData(char VarName, struct BCDvalue* Dest)
 
| synopsis = Gets the value of a Alpha variable, which can be used in most expression evaluators throughout the OS, as well as BASIC programs.
 
| synopsis = Gets the value of a Alpha variable, which can be used in most expression evaluators throughout the OS, as well as BASIC programs.
 
| parameters = * '''VarName''' - name of the variable to retrieve.
 
| parameters = * '''VarName''' - name of the variable to retrieve.
 
* '''Dest''' - pointer to a struct used for number representation by the OS math library, and that is documented at [[BCDtoInternal]] (the syscall used in aiding the conversion from a <tt>double</tt> to a BCDvalue).
 
* '''Dest''' - pointer to a struct used for number representation by the OS math library, and that is documented at [[BCDtoInternal]] (the syscall used in aiding the conversion from a <tt>double</tt> to a BCDvalue).
 
}}
 
}}

Latest revision as of 18:42, 3 August 2014


Synopsis

Header: fxcg/system.h
Syscall index: 0x0034
Function signature: void Alpha_GetData(char VarName, struct BCDvalue* Dest)

Gets the value of a Alpha variable, which can be used in most expression evaluators throughout the OS, as well as BASIC programs.

Parameters

  • VarName - name of the variable to retrieve.
  • Dest - pointer to a struct used for number representation by the OS math library, and that is documented at BCDtoInternal (the syscall used in aiding the conversion from a double to a BCDvalue).