Dereferencing Operator image.png873x170 10.6 KB
I’ve posted updated version above, here’s the link: you don’t really have to split it to collect the data
just put all of your c# code to dotnetfiddle and try to run, it will show you places where the syntax isn’t correct and btw, why not using single mult…
StringStream:”Error:CS0116 Line:1 Column:58 A namespace cannot directly contain members such as fields or methods you can always read the reason beh…
The thing is that it shouldn’t compile at all unless you commented out everything inside ProcessDocument method. This one should compile: add this t…
miauu: With my zero C# knowledge this is not compiled at all: no surprise, in order to iterate using foreach you need to split the doc into lines…
miauu: Still not as fast as I need. If you want performance try moving loop iteration to c# Make a dynamically compiled c# dll with a class and …
Hard to help you without 3dsmax running, but here’s a bit optimized c# version, 40-50ms Try porting it to mxs, it shouldn’t be complicated add regex…
look here, I’ve ported the code to do a quick test pure c# version should do the job Multiline: 5652 Time:293 ms. – could be improved with RegexOp…
in this case you probably better iterating over the lines array so the line number is always known although SO has some answers for similar task upd …
fastest way would be to use regex in multiline mode so you don’t have to split the text into separate lines. if you have to iterate over each line any…
denisT: So the problem is now solved? yes, we ended up with this fn getFrameCount prxFile = ( f = fopen prxFile “rb” fseek f 12 #seek_set count …
frame count is stored at the 13th byte from the beginning of the file
GSystems: Most likely somewhere there should be just the number “101” with a binding to the text “Frame count:” (this can be a property name). if…
ha, this file contains exactly 101 patterns of C0 02 00 00 02 00 but perhaps you need to use a longer pattern to exclude false-positive matches resu…