Runtime error in simulation

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
PDeGr
Posts: 12
Joined: Fri Dec 01, 2006 2:56 pm
Location: Belgium

Runtime error in simulation

Post by PDeGr »

In the helpfile of the RS232 module you can find the following line.
\x?? Hexadecimal character. The ?? is the value 00 to FF.

If I try this then I receive a runtime error and everything is closing.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Thanks for the report - I'll look into this today.

PDeGr
Posts: 12
Joined: Fri Dec 01, 2006 2:56 pm
Location: Belgium

Runtime error in simulation

Post by PDeGr »

Hi,

I just upgraded my flowcode to version 3.2.
but I still receive a runtime error and everything is closing.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello

I think it is meant to say 0xXX where XX is 00 to FF.

PDeGr
Posts: 12
Joined: Fri Dec 01, 2006 2:56 pm
Location: Belgium

Post by PDeGr »

Hi Ben,

If I enter 0xXX it will not process XX it as a special character.

see Flowcode RS232 Component help:

Special characters
You can add a number of special characters to the list by using the '\' prefix to tell the queue that you want to add the a special character.
The special characters available are:
\n Newline character
\r Carriage return
\\ The \ character. We use this as '\' is used to prefix the other special characters.

\x?? Hexadecimal character. The ?? is the value 00 to FF.



Best regards
Patrick

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Hello Patrick,

Yes this is a bug - thank you for telling us about it. I'll try to fix it for the next update.

And please accept my apologies for taking a month to look into it - this problem "slipped through the net".

Post Reply