Dim x(1)
x(0) = 5
x(1) = 2
Dim NewArray(1)
For xx = 0 To x.Length -1
Dim item As Integer
item=xx-x.Length -1
item=item * -1
NewArray(xx) = x(item)
Next
Their you go at first the original array was 5,2
after you run the loop it will be 2,5.
Hope your requirement is to upload a file to server . follow this code. $files=array(); $file=handleUpload($_FILES); function handleUpload($upload_file){ if(!$upload_file) return; $files=array(); $file->file_orig_name = $upload_file['name']; $file->file_size = $upload_file['size']; $path_parts = pathinfo($file->file_orig_name); $file->file_extension = strtolower($path_parts['extension']); $file->file_mime_type = $upload_file['type']; $file->file_tmp_name = $upload_file['tmp_name']; return $files; }
hi, This is sunil maurya . I am working with Geometric solution Bangalore... as software developer. According to java script rule we can use this language on separate file and use in the HTML code as well as we also write code in the same file and use it where needed... Thanks Sunil maurya
We can use php tags in different ways. <?php //php code to be written here ?> OR <? //php code ?> This tag will not work when we using editors such as macromedia dreamweaver. OR < script language="php"> //php code </script>
When scripting in PHP, you always want to open up the script with a tag.
If you wish to check the syntax of your source code, you need to run the code through the PHP CLI with the -l option. There are also some online resources to validate the syntax. This will check only the syntax of your file. This will not however detect runtime errors or logic errors. You must absolutely run the script for the best possible code validation.
An example: int array [10]; yaaa this is write but for a simple programs on array and all data structure visit codingdatastructure.blogspot.com
write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)
You need to write the HTML code in the tag format. If you want to write JavaScript put it in <script> tag.
truzi i Ghal
You can write java script code on any platform be it mac, linux, solaris or windows. All you need is a mac version of notepad, some html page where you insert your java script code and a web browser where you view the html page. All major browsers support java script coding and all you need to do is enable the Java Script support in browsers if it is not enabled already.
When using statement programming in qlikview you Open the QlikView application, Open Edit Script, Write code for the SET script statement, Save QlikView file, Sheet property Window, Select text object, Select text object, Write code of LET script statement, Sheet property Window and now you should see the LET statement.
No. An array is a collection of objects of any type, such as doubles, not just characters. You can even have arrays of arrays, or arrays of structs. In C, the size of an array is fixed, but it is possible to write code that will allow you to manually make it variable in size.
To add javascript code in HTML, you have to include the script tag on top. It can be added as <script src="source of script"></script>
To print a reverse string in C#, you can use the Array.Reverse method or LINQ. Here's a simple example using Array.Reverse: string original = "Hello, World!"; char[] charArray = original.ToCharArray(); Array.Reverse(charArray); string reversed = new string(charArray); Console.WriteLine(reversed); This code converts the string to a character array, reverses the array, and then creates a new string from the reversed array before printing it.
You cannot repeatedly run a code in command prompt unless you create a batch script that will repeat the codes inside it. To create a script, you must open notepad. Type :A (colon A). Then below that code, type the codes you want to repeatedly run. Below the codes, write "goto A" (without quotes). Save this script as anything you like with a .bat extension. When you click the .bat script, it will read the code. On the last line of code, it will repeat any codes that is in between :A and goto A. You can also change the "A" into anything you would like.
When you say script, what do you mean exactly? If you mean php or code script, you should search on seoclerk.com
asp.net is the serverside prograaming and ado.net feauture submit databse connectvity to sql server and asp is the script language