Initializing help system before first use

appsxmlout

Purpose
Generate the extended filename for 'initialisations to' from a label.
Synopsis
function appsxmlout(label:string):string
Argument
label 
entity label
Return value
An extended CSV filename
Example
The following lines of Mosel code
declarations
  myArr: array(range) of real
end-declarations

myArr::[1..3][1.2, 3.5, 6.7]
initialisations to appsxmlout("AnArray")
  myArr as "[](ArIndex,ArValue)"
end-initialisations
appsxmlexport("result")
output the array myArr to a result file of this form:
<ResultRecordList>
  <ResultRecord>
    <AnArray>
      <AnArray_rec>
        <ArIndex>1</ArIndex>
        <ArValue>1.2</ArValue>
      </AnArray_rec>
      <AnArray_rec>
        <ArIndex>2</ArIndex>
        <ArValue>3.5</ArValue>
      </AnArray_rec>
      <AnArray_rec>
        <ArIndex>3</ArIndex>
        <ArValue>6.7</ArValue>
      </AnArray_rec>
    </AnArray>
  </ResultRecord>
</ResultRecordList>
Further information
1. This function generates the extended file name to be used by initializations to for the specified label.
2. Data output to the resulting file needs to be terminated by a call to appsxmlexport in order to generate the XML file.
Related topics

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.