Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN response #6

Open
miton18 opened this issue Nov 23, 2016 · 0 comments
Open

NaN response #6

miton18 opened this issue Nov 23, 2016 · 0 comments

Comments

@miton18
Copy link
Contributor

miton18 commented Nov 23, 2016

Response parser of WarpScript don't support parsing a 'NaN' value.

test code:

NEWGTS 1 50 <% NaN NaN NaN RAND ADDVALUE %> FOR
12 NaN NaN NaN 1.001 ADDVALUE
24 NaN NaN NaN 100.0 ADDVALUE
35 NaN NaN NaN 500.0 ADDVALUE 
'myGTS' STORE
$myGTS 1.0 THRESHOLDTEST 
0 GET 'oneTS' STORE
$myGTS $oneTS ATINDEX

error:

SyntaxError: Unexpected token N in JSON at position 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant