Skip to content

Commit

Permalink
Update scenario.nut (add .tointeger())
Browse files Browse the repository at this point in the history
  • Loading branch information
Yona-TYT authored Jun 3, 2024
1 parent 48afddd commit 9fe7195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pak128.prototype/scenario/tutorial/scenario.nut
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function string_analyzer()
}
value_a += tx
if(j == s_siz.a-1) {
val_a.push(value_a)
val_a.push(value_a.tointeger())
}
}
//-------Debug ====================================
Expand All @@ -188,7 +188,7 @@ function string_analyzer()
for(local j=nr_b;j<s_siz.b;j++){
local tx = format("%c",current_st[j])
if(j == s_siz.b-1) {
val_b.push(value_b)
val_b.push(value_b.tointeger())
}
try {
tx.tointeger()
Expand Down

0 comments on commit 9fe7195

Please sign in to comment.