miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: Fast search through text file

Serejah: But how do we get the data back to mxs? This works: ( global PYTHON_RETURN fn CollectOldFiles dir threshold_days: = ( local pyCmd …

2 years ago
Forum
Reply
RE: Fast search through text file

With python, going through all 50000 lines of a text file and finding all lines which starts wit “–”, skipping the empty spaces takes 0.086 sec and fi…

2 years ago
Forum
Reply
RE: Fast search through text file

If anyone knows how to make regEx to find —– or any other number of – at the beginning of the line – please help. I will try to find the answer to…

2 years ago
Forum
Reply
RE: Fast search through text file

Serejah, Denis, Thank you. Using this: ( ::dp_assembly = ( local source = “using System; using System.Text; using System.Collections.Generic; …

2 years ago
Forum
Reply
RE: Fast search through text file

The input data is the strToCheck, generated in the maxscript. I pass it without any modifications. dp = dotnetobject “DocProcessor” dp.ProcessDocume…

2 years ago
Forum
Reply
RE: Fast search through text file

Thank you. Finally no error when compiling. Here are the times – the code from my first post and the c#: Lines: 48574 Find words 0.294 sec. kappaAr…

2 years ago
Forum
Reply
RE: "Pointer" to an array/variable?

This way it does work. Thank you

2 years ago
Forum
Reply
RE: "Pointer" to an array/variable?

Thank you. Can’t make it to work. — Compile error: & references only allowed on variables, properties and array indexes It seems that an array …

2 years ago
Forum
Topic
Forum
Replies: 4
Views: 19
Reply
RE: Fast search through text file

Thank you. Can this version work if I sent a string, not a txt file?

2 years ago
Forum
Reply
Forum
Reply
RE: Fast search through text file

Thank you. I updated the code as you suggested. Then there was errors that ‘var’ can’t be used so I removed the var from the code, and not I have this…

2 years ago
Forum
Reply
RE: Fast search through text file

This is the end of the code: source += ” }” csharpProvider = dotnetobject “Microsoft.CSharp.CSharpCodeProvider” compilerParams = dotnetobject “S…

2 years ago
Forum
Reply
RE: Fast search through text file

I execute only the code I posted above and there is an error: — Runtime error: .NET runtime exception: Could not load file or assembly ‘file:///C:\U…

2 years ago
Forum
Reply
RE: Fast search through text file

Thank you. With my zero C# knowledge this is not compiled at all: ( fn CreateArrAssembly = ( source = “” source += “using System;” source +=…

2 years ago
Forum
Page 4 / 83