Jump to content

Numerical variable handling difficulties


TOSY

Recommended Posts

Hello all,

 

When I try to use numerical variable, I have a few difficulties.

 

(1) Conditional Test error

I tried to create "Conditional Test" using numerical variable. (When the value of the variable is greater than specific number, I want to set the task complete).

The compiling was successful. But error ocuured when I start the cartridge using emulator.

 

The error message is "....Test/test.enc: 187: attempt to compare string with number".

When I look the lua file, the digit was double quotation, so it seems like some string.

Is it error in builder?

 

(2) Show value of variant in message.

I tried to show the value of variant in message. But I can't find how to type this request.

 

For both problems , it can be solved by direct modification for lua. ( (1) Remove doubler quotation, (2) [[Text]]..variable..[[Text]] ) But I want to achieve them by builder software.

 

Thank you for providing such a great software.

Link to comment

Hello all,

 

When I try to use numerical variable, I have a few difficulties.

 

(1) Conditional Test error

I tried to create "Conditional Test" using numerical variable. (When the value of the variable is greater than specific number, I want to set the task complete).

The compiling was successful. But error ocuured when I start the cartridge using emulator.

 

The error message is "....Test/test.enc: 187: attempt to compare string with number".

When I look the lua file, the digit was double quotation, so it seems like some string.

Is it error in builder?

 

(2) Show value of variant in message.

I tried to show the value of variant in message. But I can't find how to type this request.

 

For both problems , it can be solved by direct modification for lua. ( (1) Remove doubler quotation, (2) [[Text]]..variable..[[Text]] ) But I want to achieve them by builder software.

 

Thank you for providing such a great software.

Hi, the first problem will be fixed in a release next week. The next part is solved with a lua concatenation.

 

david

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...