mirror of
https://github.com/moparisthebest/Simba
synced 2025-02-16 15:20:09 -05:00
New rev number + Made writeln convert floats correctly.
This commit is contained in:
parent
b450298085
commit
478ebec14d
@ -46,7 +46,7 @@ uses
|
|||||||
CastaliaSimplePasPar, v_AutoCompleteForm, PSDump;
|
CastaliaSimplePasPar, v_AutoCompleteForm, PSDump;
|
||||||
|
|
||||||
const
|
const
|
||||||
SimbaVersion = 687;
|
SimbaVersion = 690;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ begin;
|
|||||||
result := PSGetAnsiString(Data.Dta,data.aType)
|
result := PSGetAnsiString(Data.Dta,data.aType)
|
||||||
else if data.aType.ExportName = 'BOOLEAN' then
|
else if data.aType.ExportName = 'BOOLEAN' then
|
||||||
result := BoolToStr(PSGetInt(Data.Dta,data.aType) <> 0,true)
|
result := BoolToStr(PSGetInt(Data.Dta,data.aType) <> 0,true)
|
||||||
|
else if data.aType.BaseType in [btExtended,btSingle,btDouble] then
|
||||||
|
result := FloatToStr(PSGetReal(data.Dta,data.aType))
|
||||||
else
|
else
|
||||||
result := PSVariantToString(data,'');
|
result := PSVariantToString(data,'');
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user