*SetInteger()
Sets the value of an integer entity.
Syntax
*SetInteger(integer_name, value)
Arguments
- integer_name
- The variable name of an existing integer entity.
- value
- The value of the integer entity.
Example
*DefineDataSet(dsdef_vehpar)
*String(model, "Model")
*Integer(wheelbase, "Wheelbase")
*Real(spr_mass_cg_hgt, "Sprung Mass CG Height")
*Real(frnt_spr_mass, "Front Sprung Mass")
*Real(rear_spr_mass, "Rear Sprung Mass")
*EndDefine()
*DataSet(ds_vehpar, "Vehicle Arguments", dsdef_vehpar)
*SetString(ds_vehpar.model, "Sport Utility")
*SetInteger(ds_vehpar.wheelbase, 3000)
*SetReal(ds_vehpar.spr_mass_cg_hgt, 800.0)
*SetReal(ds_vehpar.frnt_spr_mass, 800.0)
*SetReal(ds_vehpar.rear_spr_mass, 600.0)
Context