mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-22 01:02:17 -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;
|
||||
|
||||
const
|
||||
SimbaVersion = 687;
|
||||
SimbaVersion = 690;
|
||||
|
||||
type
|
||||
|
||||
|
@ -30,6 +30,8 @@ begin;
|
||||
result := PSGetAnsiString(Data.Dta,data.aType)
|
||||
else if data.aType.ExportName = 'BOOLEAN' then
|
||||
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
|
||||
result := PSVariantToString(data,'');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user