scripting
C# Scripting and Security
In my game (that is also written in C#) I want 开发者_JAVA技巧to include some kind of customization support.[详细]
2023-03-29 22:08 分类:问答C++ and Lua: automatically register functions
When I was working with Lua in C#, I would add attributes to the methods I wanted to register with Lua, something like this:[详细]
2023-03-29 22:05 分类:问答Powershell script to print out each value in the system path
I found that I can use $env:Path within PowerShell to see my current system path. However, everything runs together on one line. Is there a way to pipe the output of $env:Path to another command that[详细]
2023-03-29 17:07 分类:问答How do you include LuaPlus into your project?
I downloaded the visual2008 file from here(http://luaplus.org/projects/luaplus/files), but I don\'t know how to add it to my project. It\'s not like the other libraries where I just had to add the inc[详细]
2023-03-29 16:37 分类:问答PowerShell: Restart Service By Executable Name
all I impl开发者_StackOverflow中文版emented my first PowerShell script, that does some setup, sets registry keys and at then end needs to restart services. The problem is that I have only have name o[详细]
2023-03-29 09:39 分类:问答Calculate the number of vowels and consonants in a word
I want to calculate the number of vowels and consonants in a word in a shell script, but I\'m not sure how I can run through the word. Can anyone help me?[详细]
2023-03-29 07:42 分类:问答Reading a CSV file using VBScript
I have a file with 4 fields. A,B,C,D I want to only extract the 4th Field and change it to \"E\" Is there anyway to accomplish this开发者_如何学Go?Assuming that the values don\'t contain commas, r[详细]
2023-03-29 05:14 分类:问答How can I change 'long' to 'int' without changing 'long long' using perl/awk/etc
I want to change all the longs to ints (in preparation for 64 bit code).I have a perl line that does:[详细]
2023-03-28 16:21 分类:问答This code snippet isn't working as expected (VBScript)
Dim value value = CDate(InputBox(\"Please enter the time (hh:mm)\", \"Time Input\", FormatDateTime(Now, 4)))[详细]
2023-03-28 12:55 分类:问答substituting a string in place of variable in shell
I pass a string as an argument to a shell script. and the shell script should tell me if the passed argument is a variable[详细]
2023-03-28 09:39 分类:问答