Using Flowcode 8 try to enter byte array and get "The initializer value is invalid" error.
Name of variable is BCDto7Seg[10]
Initializer type byte
Initializer values "0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x67" typed into
initial value entry window.
Note Flowcode on YouTube and its own videos on variables have no array discussion
in the training video.
Lastly how does one paste an image here that is not URL based ? Only attachment ?
Regards, Dana.
Array Entry
- 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:
Re: Array Entry
Hello Dana,
I beleive you need to have a few posts before you can attach files. Just a security precaution.
I beleive we added array initialisation in v9 but in v8 you have to do it the long way using a calculation icon in your program.
BCDto7Seg[0] = 0x06
BCDto7Seg[1] = 0x5b
...
etc
I beleive you need to have a few posts before you can attach files. Just a security precaution.
I beleive we added array initialisation in v9 but in v8 you have to do it the long way using a calculation icon in your program.
BCDto7Seg[0] = 0x06
BCDto7Seg[1] = 0x5b
...
etc
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel