JKISoftware / JKI-State-Machine

JKI State Machine
Other
42 stars 21 forks source link

Feature Idea: Error Handler frame receives previous (error producing) state as Argument (Issue #11) #14

Closed ciozi137 closed 4 years ago

ciozi137 commented 5 years ago

Parse State Queue.vi:

Tests:

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

jimkring commented 4 years ago

@ciozi137 I took a look at the code. In terms of implementation, I might just use the unparsed state string line, which could include state, args, comments and whitespace. Once could still use Parse State String to parse this inside the Error Handler frame.

image

image

ciozi137 commented 4 years ago

@jimkring Your solution looks simpler. I also like that it will help debugging "State >> Argument" string errors and typos.

jimkring commented 4 years ago

This has been merged into the master branch! Thanks Patric (@ciozi137).