instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
how to get form input(POST) with following conditions? 1. not hard code the content length 2. a function with provided param which is the form elements name, finally return the string i can't find any example on internet~ thanks
stackexchange/codereview
I am trying to make a simple mp3 player using flash. The songs are loaded using an XML file which contains the song list. The following code is inserted into a new keyframe. import flash.media.Sound; import flash.media.SoundChannel; import flash.events.*; import flash.events.MouseEvent; import flash.net.URLRequest; i...
stackexchange/codereview
I'm creating custom UITableViewCells using the approach outlined on this page: http://icodeblog.com/2009/05/24/custom-uitableviewcell-using-interface-builder/ So my cellForRowAtIndexPath code looks a bit like this: static NSString *CellIdentifier = @"CustomCell"; TableCellWithLogo *cell = (TableCellWithLogo *)[tableVie...
stackexchange/codereview
i have string like this $string = 'aaaaaa, bbbbbb, cccccc, '; and i want to modified it to be like this $string = 'aaaaaa, bbbbbb, cccccc'; the last ',' and space is removed. how to do this in php? what is the function needed the achieve that? my full code is like this if(isset($_POST['accomodation'])) $accomod...
stackexchange/codereview
In authorize.net I used active merchant gem but activemerchant not support Prolific Payment Gateway. please suggest me a gem or way.
stackexchange/codereview
Hey there- I'm trying to set my own icons for Air for Android using Flash CS5. I see the icon tab within the Air Android Settings panel, but it won't let me navigate to my icons. Also, I would add the path to my manifest.xml file, but it gets overwritten while publishing. Thanks, any advice is appreciated!
stackexchange/codereview
How can I copy specific rows from DataTable to another Datable in c#? There will be more than one row.
stackexchange/codereview
Is this possible? The ajax form's purpose is to serve as a selector for the main form.
stackexchange/codereview
I've been reading that I can simply advance my flash movie using the js play method: object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="260" height="373" id="myFlashMov"> <param name="movie" value="myflashmovie.swf" /> <param name="play" value="true" /> <param name="loop" value="false"...
stackexchange/codereview
Say I have a sequence of 100 elements. Every 10th element I want a new list of the previous 10 elements. In this case I will end up with a list of 10 sublists. Seq.take(10) looks promising, how can I repeatedly call it to return a list of lists?
stackexchange/codereview
My application is supposed to parse a text file (relatively easy) and create an excel spreadsheet report. Should I write a stand alone VB.NET application that saves the excel file, or should I use VSTO? I am unsure if there are any differences in terms of ease of development, usability issues, API functions available,...
stackexchange/codereview
What do those numbers mean exactly? Times the line was hit? Microseconds per invocation? Or what? Also, what do the 'progress-bars' behind the numbers mean? They aren't even proportional to the numbers, so I'm really confused.
stackexchange/codereview
I have an usercontrol in silverlight that I'm trying to convert to custom control. The usercontrol is working. The customcontrol is working BUT has its storyboard not working. the control is : public class MyControl : Control { public MyControl() { DefaultStyleKey = typeof(MyControl); } public ...
stackexchange/codereview
I'd like to combine these four queries to get this result: Vendors ----------- select i_vendor, name as Vendor from Vendors Customers ----------- select i_customer, name as Customer from Customers Calls ----------- select i_vendor,i_customer, id as Call, date_format(connect_time,"%Y-%m-%d %H") as Date, duration from ...
stackexchange/codereview
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? I know when each subroutine is called. Application_Start when the first user first accesses the web application. Session_Start when a user opens a session with the application. But what code belongs in...
stackexchange/codereview
I have a screen where the user has many items to input so screen space is at a premium. I want the look of the widget on the screen (before the user presses it) to be similar to an EditText or the left portion of the Spinner widget (without the normal down triangle) on the right side of the Spinner. Then when the u...
stackexchange/codereview
I Am using ruby 1.9.2 (without rvm) and rails 3.0.0 on Ubuntu..when i am trying to run the server following error is coming: No such file to load --openssl... I am new to ruby on rails so plz help me out...
stackexchange/codereview
I'm trying to remove a preference from the screen so it isn't visible if the user is using an SDK greater than 2.2. I've found several answers saying that getPreferenceScreen().removePreference(thePreference) will work, but I'm getting FALSE returned every time I try it. Am I using it in the wrong place? Any clue from...
stackexchange/codereview
Has anyone seen a library to access Wordnet using some sort of query language? My idea is that there should be a way to write something like: SELECT hypernyms(word, level) WHERE word = 'art' I've already consulted SharpNLP, but is not quite what I want. It's awesome, but not what I'm looking for. Should I use some que...
stackexchange/codereview
Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically? It seems like AccountManager :: addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) sho...
stackexchange/codereview
I'm trying to make a sort of PHP bot. The idea is to have to php files, named a.php and b.php. a.php does something, then sleeps 30 seconds, calls b.php, b.php ends the Http request, does some processing, and then calls a.php, which ends the Http request, and so on. Only problem now is how to end the Http reqest, made ...
stackexchange/codereview
In SQL Server ,I created an assembly to run an external DLL. When I run the stored procedure that execute my function I got an exception that my configuration file is not found. Does any one know where the app.config should be located so that SQL Server knows how to load it. I have it right now in the same folder as my...
stackexchange/codereview
I have some varbinary data stored in a table in MS Sql Server 2005. Does anyone have SQL code that takes a query as input (lets say the query guarantees that a single column of varbinary is returned) and outputs the bytes to disk (one file per row?) I'm sure this has been asked a thousand times before, but Googling c...
stackexchange/codereview
I have a function in a controller that takes in some specifications and generates a report on them. This function user_report is called in a view: < %= submit_to_remote 'submit-button', "Export Report to Excel", :url => { :controller => :reports, :action => :user_report, :print_state => 'print'} % > In reports_control...
stackexchange/codereview
I use the following code to initialize encryption... Dim symmetricKey As New System.Security.Cryptography.RijndaelManaged() With symmetricKey .Key = Encoding.ASCII.GetBytes(Key) .IV = Encoding.ASCII.GetBytes(IV) .Mode = CipherMode.CBC .BlockSize = 128 .KeySize = 128 .Padding = PaddingMode.PKCS7 En...
stackexchange/codereview
I have been using JGraphX to display some data (simple discrete graphs) and I would like to know how to do the following things with the JGraphX library: Make all edges unmovable but still allow the user to create an edge between two vertices Make all vertices and edges uneditable (they cannot edit what is displayed o...
stackexchange/codereview
I am developing a file hosting site, where users can upload files to thier own folder. This folder can only have a quota of 100mb. I would like to implement a sytem whereby if a user tries tp upload a file to their folder which is already full to 100mb and will exeed their quota, the system will not allow it and displa...
stackexchange/codereview
I've been experimenting with this and I haven't been able to come up with an adequate solution. Hoping one of you Mathletes can point me in the right direction. I'm building a Snow Globe in ActionScript 3 and I need to come up with a set of equations to control two level of snowflakes - one level random, and the other...
stackexchange/codereview
I have problem with multiple webbrowsers on form so i created simple form with 10 browsers in it and 1 button: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click WebBrowser1.Navigate("http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/8a234c57-0872-...
stackexchange/codereview
Let's say you have two collections of integers: IEnumerable<int> col1=new List<int> {2,3,3,5,7,11,11,11,13}; IEnumerable<int> col2=new List<int> {5,7,7,7,11,19}; Now I would like to create a third collection, col3, such that for every distinct element that appears in either col1 or col2, col3 will contain that element...
stackexchange/codereview
I'm trying to figure out how to remove an item from a list in groovy from within a loop. static main(args) { def list1 = [1, 2, 3, 4] for(num in list1){ if(num == 2) list1.remove(num) } println(list1) }
stackexchange/codereview
I currently have a webapp that consists of ~100 unique URLs + ~75 pages. The application uses Spring for security and Tomcat to host. My question is how do I prevent the following from happening: http://localhost/myApp/myPage;rollback; If that's not clear, what I am trying to prevent is my application from process...
stackexchange/codereview
Why ( P ^ Q ) === ( ~P -> Q ) ? How to prove? Thanks!
stackexchange/codereview
As in the title what does EAGAIN mean?
stackexchange/codereview
I totally love git add -p and git stash but I occasionally have the following problem, which is reproduced by the following sequence of commands: git add -p my_file: then I edit a hunk manually (using e) because the splitting that git suggests does not suit me git stash --keep-index: then I do some testing, and if the...
stackexchange/codereview
After a lot of searching, I have not found any solution for the following problem. I need a treeview control with "checkboxed" treeview items and the CheckedItems property for convenient data binding (for example, treeview of folders' structure, when user checks folders, the size of checked folders is displayed in a te...
stackexchange/codereview
I'm trying to automatically register all reports in a unity container. All reports implement IReport and also have a Report() attribute which defines the title, description and unique key (so I can read these without instantiating a concrete class). So... I get the report types like this Public Shared Function GetClass...
stackexchange/codereview
hey, i'm using the Facebook style autoComplete inside a asp.net ajax update panel, by problem is when im doing a postback to the UpdatePanel the Jquery Disapear, Any Idead? thanks, Code: $(document).ready(function () { $("[id$='DDL_Guests']").fcbkcomplete({ json_url: "../../Search.asmx/SearchAC", cache: fals...
stackexchange/codereview
After insert successfully i want to refresh the two page which i opened , Example : i have Order view display , in this am displaying the order added items , And another is the pop up window , i want to refresh this window ,
stackexchange/codereview
What is target in iPhone development and why would I need different targets?
stackexchange/codereview
I'm trying to do some simple assignment, but coming up with different results and I can't figure out why. Why does the first assignment below work and the second one not? NSMutableArray *mutableFetchResults = something approrpriate here; [self setLocationsArray:mutableFetchResults]; [switchViewController setLocations...
stackexchange/codereview
I have a php project in subversion, with the typical /project/trunk/, /project/test/, /project/branches/ structure. I want to start writing some unit tests with PHPUnit. Where is a good place to store these files in version control? If I put them in /project/unittests/, I would have to check out the directory they tes...
stackexchange/codereview
I realize that most browsers block window resizing but was wondering that since I am the parents of this newly opened window, would I have any priveleges over sizing it not just on the Open but after? I am not trying to annoy users either :) I specifically need to keep 2 windows in sync (Same size).
stackexchange/codereview
I have what I consider a bit of a tricky question. I am currently working on quite a large spread sheet (266 rows aith 70 coloumns and its only going to get bigger) that is a database of sorts and I want to remove it from Excel and put it on to an intranet page. I am currently writing it in a combination of HTML and Ja...
stackexchange/codereview
I have a question regarding the selection of table cells. I have three grouped tables which are used as forms, only one of which should be in view at a time. So in the nav controller I have a button which presents another table in a popover with the title of all three forms and will control which form is currently avai...
stackexchange/codereview
I am goingto be starting work soon on a new project at work. Essentially there are many chemical compounds here each has its own prefix / identifier. For example a couple of chars followed by a few ints and that sort of thing, tho they all vary. I was wondering if there was an algorithm for matching these elements effi...
stackexchange/codereview
This String is base64 encoded string: NSString *string=@"ë§ë ë¼ì´"; This is not show the orginal string: NSLog(@"String is %@",[string cStringUsingEncoding:NSMacOSRomanStringEncoding]);
stackexchange/codereview
is there a simple way to create a command-line tool in Objective C? I'd rather not use XCode, because XCode has targets and executables, and just complicated stuff. I'd like to go classic way, just create a Makefile, compile something get an executable, play with it. -- If this is not possible, is there any way to run...
stackexchange/codereview
I am having a file in the folder res/raw/a.xml. I want to write some data to this file? How it can be done in Android? How can we access a file stored in local directory in order to write data to that file. can anyone help me in sorting out this issue ? Thanks in Advance,
stackexchange/codereview
I'm reading the documentation for glOrtho and not understanding it. I'm looking at this resize code for an 2D drawing and not getting why some of the index are positive and some negative. The drawing is supposed to stay flat so I don't know if its doing what's supposed to: void reshape(int width, int height) { gl...
stackexchange/codereview
MySql question: What is the difference between [NOT] IN and [NOT] EXIST when doing subqueries in MySql.
stackexchange/codereview
Some scripts I have inherited will blindly call SET FEEDBACK OFF or SET ECHO OFF at the beginning of the script, then set them to ON or OFF at the end of the script. I would like to modify these scripts to determine what value was set before the script was run, and set the environment back to that value when the scrip...
stackexchange/codereview
To put it simply. From a context menu on a TabActivity how can I initiate executing the intent for the current tab? I am trying to force a refresh. The tabs all initiate activities displaying a subset of people names. While in one list you call up an edit activity which allows you to associate the name to one of the o...
stackexchange/codereview
I'm looking to retrieve JSON (from a third-party website) and convert it into a valid RSS/XML feed. Is this possible? Can RSS readers read pages that are basically only javascript generating a web page? Are there other options to convert a JSON web page to RSS? (ie. retrieve the JSON using an HTTP request and then ret...
stackexchange/codereview
Is there anyway I can submit a form without a submit button, but only when the user press the Enter button? Kind of like when commenting on Facebook, you have the TEXTAREA but no submit button. Once you press enter the form submitted with Ajax. Thanks, Joel
stackexchange/codereview
I know that indexes on database are a good way to increase query performance, but how much performance I would gain by creating an index for a creationDate property of a given object that I frequently order by creationDate in my queries? Would this frequently "order by o.creationDate" justify creating an index for the ...
stackexchange/codereview
I'm working on an app that works with databases. Whenever I create more than one data table in my app, then erase one, and then try to close the app, it won't close. I added an event handler to the FormClosing event, and the Cancel property of FormClosingEventArgs is true. How can I track where is this property being s...
stackexchange/codereview
Possible Duplicate: Do I correctly understand what a class is? Before you rant and rage and scream at me, understand that I tried searching everywhere, from google to this very site on what exactly a class in python is. I have found definitions of sorts, but have never been able to understand them fully. So here's t...
stackexchange/codereview
How can I remove extra last semicolon in csv file. Because it's taking extra blank field. Below is format of csv file. 12/12/2010;vvvvvv;JJJJ;BB;02070;kkkk yyyy tt oooo ;jjj iii;;mm nn nnnn;nnnnn gg bbbbb;xxxx ccc;;63610 iiiiiii;http://google.com;aaa bbb;;06 85 83 38 25;;aaa@vv.com;;2010-12-12;T;nnn;bbb-rr;rrr;rrr;3 C;...
stackexchange/codereview
I am trying to get the size of the store I am using in the grid. But I am not able to find any method to get the size of the store(number of records in the grid). Could anyone plz help, how can I achieve this. Thanks, Neha
stackexchange/codereview
A couple of questions regarding the following code: @implementation NSArray (Find) - (NSArray *)findAllWhereKeyPath:(NSString *)keyPath equals:(id)value { NSMutableArray *matches = [NSMutableArray array]; for (id object in self) { id objectValue = [object valueForKeyPath:keyPath]; if ([objectValue isEqu...
stackexchange/codereview
In my app, I use a calendar control to store the information date-wise. Calendar Control's Link: http://blog.webscale.co.in/?p=244 For example, the current selected month is October 2010. Now if I switch back to April 2010 and try to comeback to October 2010 & access data from calendar that I stored in the month of Oc...
stackexchange/codereview
Hi I want to pass an Arraylist from one activity to another. I use putStringArrayListExtra(), but there shows an error : "The method putStringArrayListExtra(String,ArrayList is undefined for the type bundle." Is there any other method available for passing ArrayList? String test[]=new String[3]; ArrayList<String[]> al...
stackexchange/codereview
I have to send/recieve objects (of a custom class made by me) in my C# .NET 4.0 application and I would like a good tutorial to get me started because I've searched on Google and there seem to be a lot of problems with serialization/deserialization and although the problems were solved, there are a lot of ugly hacks. R...
stackexchange/codereview
I use what I think is a typical layout in Eclipse: my workspace contains the Project Explorer on the left and the Java editor window taking up most of the screen, with the small console window at the foot of this editor pane. When I open a very long Java class, containing a large number of method definitions, in the ed...
stackexchange/codereview
In the summary of differences between Perl 5 and Perl 6, it is noted that the wantarray function is gone: wantarray() is gone wantarray is gone. In Perl 6, context flows outwards, which means that a routine does not know which context it is in. Instead you should return objects that do the right thing in every...
stackexchange/codereview
Possible Duplicates: Detect Antivirus on Windows using C# How to detect if a virusscanner and/or firewall is installed? (And a few other security-related Q's.) is there a way to detect currently instaled av without searching for known processes?
stackexchange/codereview
I'd like to store configuration data in separate files and load it/read it using the proper Lithium way.
stackexchange/codereview
I can't find any reference to it from the Apple website.
stackexchange/codereview
I have a dynamic list of values, which i want to query against an IQueryable with OR conditions. How would I foreach the values to "OR" them up against the IQueryable?
stackexchange/codereview
I have a web service app that has an xml file with Oracle connection properties i.e. DEVFOOBAR schema. I will create a war file of this and deploy to Tomcat on our test server - however we only have this one server but we want the ability to test the webservice against a few different schemas e.g. DEVFOOBAR TESTFOO...
stackexchange/codereview
Assume I have a program that uses argparse to process command line arguments/options. The following will print the 'help' message: ./myprogram -h or: ./myprogram --help But, if I run the script without any arguments whatsoever, it doesn't do anything. What I want it to do is to display the usage message when it is ca...
stackexchange/codereview
kernel1 <<< blocks1, threads1, 0, stream1 >>> ( args ... ); ... kernel2 <<< blocks2, threads2, 0, stream2 >>> ( args ... ); ... I have two kernels to run concurrently, and the device is GTX460, so it's Fermi architecture. The cuda toolkit and sdk are 3.2 rc. Like codes above, two kernels are coded to be run concurren...
stackexchange/codereview
I know how to get from ifconfig. (linux) But is there another way? Can found it in socket.
stackexchange/codereview
So this is the question. Why does it do it? Even when I do something like this NSLog(@"view's retainCount %d", [viewController.view retainCount]); it increments the retain count.
stackexchange/codereview
I'm implementing asynchronous image loading in UITableView, If I scroll rows fast my app crashes due to message sent to zombie... What is wrong am I doing here? //loading image from URL -(void)loadImageFromURL:(NSURL*)url { if (connection!=nil) { [connection release]; } //data is NSMutableData if (data!=nil...
stackexchange/codereview
I have an apk that is built with make, and so it has an Android.mk file associated with it. Now, I want to make sure that this apk is rebuilt every time a specific file (that is not related to the apk at all) has changed. So I need to somehow specify a dependency from my apk to this specific file but I can't figure out...
stackexchange/codereview
I have some questions on installing Pocketsphinx on and Android phone, and I haven't been able to find answers on CMUSphinx's support forum, IRC, existing StackOverflow posts, or intensive Googling. If anyone here has a minute and would be willing to help, I'd greatly appreciate it. First off, I'm confused as to wheth...
stackexchange/codereview
Hello Guys, Now I am doing the adwhirl development. When downloaded the latest AdWhirl and AdMob SDK. Read and done with the instructions in the AdWhirlSDKInstructionsforiPhone.pdf, I receive below error message. 2010-10-25 23:52:20.774 iAdWhirle[2017:207] Unable to fill ad request. This is a common situation. 2010-1...
stackexchange/codereview
I'm messing around with the Notepad exercise 1. When I create the fillData method, I get an error that "Cursor cannot be resolved to a type" Here's my code: private void fillData() { //get notes from DB and create item list Cursor c = mDbHelper.fetchAllNotes(); startManagingCursor(c); String[] from = n...
stackexchange/codereview
What's the deal with not doing macros ? or what's the deal with trying to avoid macros ? I've seen some posts recently telling to slow down on the use of macros: DSL!=macros, re-writing code with functions instead of macros, the begin of a study to switch from macros to functions... but what's the deal ? you think macr...
stackexchange/codereview
I have the following list of checkboxes. The way the list is output it allows the user to select more than one value. However, I need the user to be only allowed to select one single value from the list of checkboxes below. Is it possible to somehow achieve this with jQuery? It would also be okay to change the list to ...
stackexchange/codereview
The original website: http://www.vnedoc.com The leecher's website: http://www.vipa1.com As you can see they are completely the same except for the author (sangsang -> trangxinh) and the logo (v.v.v). How could the leacher do this? How can I prevent this?
stackexchange/codereview
I am currently working on a 2D game project and I want to switch from Delphi to C++. In Delphi, I could declare an array which had the type of a class Entity, and I could put Entitys as well as objects of classes which are derived from Entity into it. This would be very important for me, as it seems logical that all en...
stackexchange/codereview
What is the easiest way to get an XML representation of an object in c#? I know you can use XmlSerializer but I wonder if there's a better way. Can I somehow use LINQ for this? Update: By best I mean I can use it with immutable objects and I don't need to make a constructor with no prarameters.
stackexchange/codereview
I'm using the XNA framework and wish to incorporate multi-paged PDF files into my XNA application. I understand that I can achieve this by creating a custom importer and processor but I can only find one example which refers to custom importers/processors. Unfortunately, since this example applies to shaders its not p...
stackexchange/codereview
I have a problem with an htaccess url rewrite, that works fine at localhost but doesn't work on my hosting (anhosting). I need to redirect all the request to my index.php page. Here's an example: i would to redirect http://mydomain.com/this/is/a/page to http://mydomain.com/index.php/this/is/a/page This is my .htacces...
stackexchange/codereview
I a problem that has been driving me nuts for awhile now. Here is the set up: I have a draggable list that is being used for user navigation. I would like to save how the user orders the list to a database so it is the same the next time they load the page. I am using (or trying to) use an ajax call to save the orde...
stackexchange/codereview
I have problem on page bellow, in gdvCar_DataBound I add three buttons, when I click on any of them, page go to postback but doesn't enter in gdvCar_RowCommand and then that buttons ( and images that I also add in gdvCar_DataBound) disaper. Grid is then full like gdvCar_DataBound isn't execute. My question is why it do...
stackexchange/codereview
I would like to know if someone found a trick to specify a settings.xml file in a (parent) pom.xml. The goal is to avoid every developer to have their own -possibly "customize"- version of those settings. Instead it would be set on a central location on the corporate network. I'm aware of the "-s" that works on the com...
stackexchange/codereview
Is there a command that tells you the other gems that a gem depends on? Also, is there a way to auto install the gem's dependencies?
stackexchange/codereview
I have a database with the current coordinates of every online user. With a push of a button the user can update his/her coordinates to update his current location (which are then sent off to server). The app will allow you to set the radius of a circle (where the user is in the center) in which you can see the other u...
stackexchange/codereview
I have a WindowsFormsHost whose visibility changes from "Visible" to "Collapsed" and vice versa based on certain triggers. I also want to be able to bind this "Visibility" to a variable as I need to be able to look at the Visibility field for certain reasons, and I can't just "look" at it because they're in two differ...
stackexchange/codereview
I ran rake test:profile and got a report of: process_time: 62 ms memory: unsupported objects: unsupported How can I enable the memory and objects component? I'm using ruby 1.9.2 and I have ruby-prof listed in my Gemfile gem 'ruby-prof'
stackexchange/codereview
I have a TextBlock within a DockPanel within a Border. The TextBlock is data-bound and can be changed with an on-screen keyboard. Therefore, I have hooked it up to validation and it works wonderfully. My dilemma is that I can only seem to change the TextBlock's style when there is a validation error. I want to trig...
stackexchange/codereview
I recently moved a wordpress site from media temple's gs to their dedicated virtual server. The file structure changed when I upload files. The permissions automatically upload as 644 and I'd like to change this. Where should I look to change this, the php.ini file or somewhere ont he server settings? It uses ples...
stackexchange/codereview
I have a program which writes to the HKCU registry key during startup. Does this require administrator privileges in Vista and Win7?
stackexchange/codereview
I need to get parts of a string in a particular format. Tried everything from split, substring to pattern and matcher. but everytime it fails with one of the requirements. Suppose str = (((abc) shdj (def) iueexs (ghi)) mkek ONE(tree23) bjm (twooo(bug OR bag)) mvnj THR-EE(<*>$##)) And terms wanted are : "Hard Coded Ter...
stackexchange/codereview
Trying to figure out how to exploit the CSharpCodeProvider to compile string data at runtime. In xml, i have what will amount to a predicate condition stored in a string. I want to be able to, within the current context, execute and get the result of these statements. for instance when <Condition>Value=="ABCD1234"</Co...
stackexchange/codereview
I'm working on an array_merge function for ASP classic. What I have seems to be working, until one (or both) params are empty or not arrays. Here's what I have so far: function array_merge(left, right) dim total_size dim i dim merged ' Convert "left" to an array if not isArray(left) then left = Array(le...
stackexchange/codereview