Alpha SetData

From WikiPrizm
Revision as of 18:41, 3 August 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = Alpha_SetData | header = fxcg/system.h | index = 0x0035 | signature = void Alpha_SetData(char VarName, struct BCDvalue* Src) | synopsis = Sets the value of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/system.h
Syscall index: 0x0035
Function signature: void Alpha_SetData(char VarName, struct BCDvalue* Src)

Sets 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 change.
  • Src - 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).