SM2: Final death of the NULL character?[Solved in v2.0.3]
Archive · 201113 old posts
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
DigitalWhiteByte ·
Final death of the NULL character.
In SM 1.1.7 there was a solution to get the NULL character. (Char Code 256 to "ASCII to String" primitive).
In SM2, the NULL character is not supported by string primitive in general.
This resulting in a malfunction of the primitives.
For example, the primitive hex2s:
if I have a string like this - 00 A6 00 3F 56 00 02
The result? The string is not converted.
Another example of the primitive and ASCII to String, which no longer returns the NULL character, as it first did.
In the end, all the modules that I have with this system of implementation of NULL character will not work in SM2.
Who knows what the real reason
I hope you come back the whole operation as it was before
Edit: Moved to Public Bug.
sunsynth ·
YUP - noticed this 2!
only single hex$ works 🙁
We need this working like DWB wrote!
micron ·
hello,
couldn't we parse the hex sequence but the 00 value?
Then if needed add the null symbol(or whatever character we want to use) to the string?
I added an example osm which just cut the 00 values and don't replace it.
Sal
DigitalWhiteByte ·
micron wrote: hello,
couldn't we parse the hex sequence but the 00 value?
Then if needed add the null symbol(or whatever character we want to use) to the string?
I added an example osm which just cut the 00 values and don't replace it.
Sal
Yes, but the question is another.
The NULL character is very important.
Especially if it is Hexadecimal, and the primitive hex2s does not seem to work fine with that.
😉
micron ·
hello,
when the sequence is hexadecimal it is recognized, so the problem comes when we need to convert that hexadecimal value to string.
So(unless the hex2s is not fixed by SM staff) we just need a self made module to fix this following the way i have suggested.
Sal
DigitalWhiteByte ·
micron wrote: hello,
when the sequence is hexadecimal it is recognized, so the problem comes when we need to convert that hexadecimal value to string.
Sal
I do not seem to work fine.
How to generate from string the value hexadecimal 00?
Reread my first post. 😊
I was not looking for a solution to use the primitive,
but I wish SM had a complete internal handling of characters from ASCII code 0 to ASCII code 255,
then if also implement the reading and writing binary files, it would be really good.
micron ·
hello,
what i meant is unless the bug is fixed, we have to do our conversion module and it is possible.
Sal
DigitalWhiteByte ·
BUMP 🙁
I need this function works 😝
Please Malc....
Mo ·
Better send a email to support about this bug.
I see the same in FlowStone too.
DigitalWhiteByte ·
BUMP BUMP
Malc no news about this?
Mo ·
Seems Malc don't post here on the discussion board anymore.
As the bug are confirmed, send a bug report to support.
DigitalWhiteByte ·
By email Malc says that this will be fixed in the next update.
sunsynth ·
Good 2 hear 😉
Wrote something here? To have a post removed or your name hidden, write to [email protected].