Code: Select all
Msgbox, % .
Indeed, thankslexikos wrote:v2.0-a081-cad307c detects these errors.
Code: Select all
Msgbox, % .
Indeed, thankslexikos wrote:v2.0-a081-cad307c detects these errors.
Code: Select all
MsgBox % . ; -> .
MsgBox % .123e+1 ; -> .123e+1
MsgBox % .test ; -> .test
Msgbox % .@#µ$3Z ; -> .@#µ$3Z
Code: Select all
Error: Ambiguous or invalid use of "."
From my point of view, this topic is solved.It will be detected in v2.
Code: Select all
q::
vNum := .
if vNum is float
MsgBox, % "y"
else
MsgBox, % "n" ;n
vNum := .0
if vNum is float
MsgBox, % "y" ;y
else
MsgBox, % "n"
vNum := 0.
if vNum is float
MsgBox, % "y" ;y
else
MsgBox, % "n"
MsgBox, % (0 + .) ;blank
MsgBox, % (0 + .0) ;0.000000
MsgBox, % (0 + 0.) ;0.000000
MsgBox, % (0 + .1) ;0.100000
MsgBox, % (0 + 1.) ;1.000000
return
Users browsing this forum: No registered users and 38 guests