Is Neobook taking this as a log or using the natural number E?

When I define this variable as a string it solves the issue.

Is this an expected outcome? Are strings in the format of NNNeNNN where N=a number always to resolve to a number?

To test this, create a new publication sized 320x200 and paste this code into it.

- Code: Select all
`{NeoBook 5 Objects}`

NeoBookVer=5.80

ObjectType=3

Name=PushButton2

X=171

Y=121

W=138

H=69

Anchor=0

Text=SetVar

Align=2

ImageStyle=0

XPTheme=Yes

ObjAction=SetVar "[testXX]" "[test]"¶AlertBox "test" "[testXX]"

LineColor=0

LineWidth=1

LineStyle=0

FillColor=16777215

FillPattern=0

Font=Arial

FontSize=10

FontStyle=0

FontCharset=1

TextColor=0

TabOrder=2

ObjectType=8

Name=Text1

X=17

Y=25

W=289

H=56

Anchor=0

Font=Arial

FontSize=10

FontStyle=0

FontCharset=1

TextColor=0

Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 SetVar "\{testXX\}" [test]"\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 AlertBox "test" "\{testXX\}"}}}

HMargin=0

VMargin=0

LineColor=0

LineWidth=1

LineStyle=0

FillColor=16777215

FillPattern=0

TabOrder=3

ObjectType=9

Name=TextEntry4

X=29

Y=126

W=111

H=34

Anchor=0

VarName=[test]

Align=1

EditLen=0

LineColor=0

LineWidth=1

LineStyle=0

FillColor=16777215

FillPattern=0

Font=Arial

FontSize=10

FontStyle=0

FontCharset=1

TextColor=0

TabOrder=4

ObjectType=8

Name=Text2

X=10

Y=87

W=271

H=30

Anchor=0

Font=Arial

FontSize=10

FontStyle=0

FontCharset=1

TextColor=0

Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 test any number followed by E then number}}}

HMargin=0

VMargin=0

LineColor=0

LineWidth=0

LineStyle=0

FillColor=16777215

FillPattern=0

TabOrder=5