Is there a command to display the lowest int?
What I need is a to find the lowest value for a given amount of integers.
For example. Say I have 4,5,3,1,2 I want to beable to pick out the smallest value, also can I have the same for the largest.
Thanks and all the best :o)
Oh come on people! Just loop the array looking for the min. "Copy the array, then sort it"?!?!
Sorry for the rant, but that's using dynamite when a hammer will do, and there really is no excuse - doing it "right" is so simple...
int min = Integer.MAX_VALUE;
for (int i = 0; i < myArray.length; i++){
if (myArray[i] < min) min = myArray;
QED.
- K
Similar Messages
-
Is there PowerShell Command to Display the Active vHBA WWPN for a VM?
Hello,
I am running a Hyper-V cluster with a VM that I have setup to run NPIV for its data volumes...! I have been searching for a PS cmlet that will display the active vHBA WWPN for the VM but can find anything.
Still Hunting!Hi Webrat,
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Is there a way to display the date and time on my officejet 6500
HP Officejet 6500a Plus Windows XP_ Is there a way to display the date and time on the display of my printer
Are you referring to the Date and Time some cameras put right on the image? If so there is nothing really good in iPhoto to do this. You could try the Retouch tool and see how that looks but I think you will need something more precise and powerful, like the clone tool in Aperture.
Also something like PhotoShop or GIMP - The GNU Image Manipulation Program (free) should do what you want also.
If your asking about some other date post back.
regards -
Is there a way of displaying the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!
Hi geezer,
when you open your 'Downloads' folder choose 'View' in the Menu bar and choose:
'as List'
'Show View Options'
In 'View options' window you tick:
'Always open in list view'
'Date Modified', or
'Date created'
Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
column to get items alined from oldest to newest date (or reverse)… -
Is there a command to sync the end of a region to the playhead or the end of another region?
Is there a command to sync the end of a region to the playhead or the end of another region?
For youtube the code would be something like this:
view-source:calkaweb.herobo.com/video.html
for HTML5 videos for youtube replace &version=3 with &html5=1 in the youtube URL
I have no idea how to impletent the youtube code into Edge tho other than an iframe but that wouldn't work I've tried :
http://forums.adobe.com/thread/1285212
You would need to place all of the youtube codes into edge in order for it to work but I duno how to do that and no1 answered the question in the thread I made about it.
as for MP4/HTML5 video you can use
var video = document.getElementsByTagName('video')[0];
video.onended = function(e) {
/*Do Something*/ -
What is command to display the subinterface on VNIC.
what is command to display the subinterface on VNIC.
We inherit an environment. We have two virtual IP addresses. However, ifconfig doesn't show subinterface. ping -I bond1 xxx.xx.Is this configuration captured somewhere?
-
Is there a way to display the coordinates(x,y) of the objects automatically ?
hi and happy new year
is there a way to display the coordinates(x,y) of the objects automatically (may be on a label over the object ) and print them?
i mean i want to design a game level (in pixels) place the object on the map ang get the locations automatically to print them
thank you
txarlyGood day!
Which version of Photoshop do you use?
If you have CS6 Etended the Measurement Log might provide some options to store and print the information separately, but if I interpret your wuestion correctly (for example that by »object« you mean »Layer«) I think a Scripting approach would be best.
Scripts can be used to automate tasks with more options regarding conditionality than Actions by using JavaScript-, VB- or ApplaScript-code to control Photoshop.
If you want to pursue that option you could ask for help over at
http://forums.adobe.com/community/photoshop/photoshop_scripting
or
http://ps-scripts.com/bb/
But please post screenshots/mock-ups right away to illustrate what you start with and what result you want.
Regards,
Pfaffenbichler -
Is there a way to display the song timing/duration?
I have a new 6th generation iPod Nano. Is there a way to display the song timing? Sometimes I want to fast forward to right at the end. I guess I miss the click wheel when I could zoom right to the end without just holding down the arrow and guessing about when I'd get there. Is there a way to access this function on the new nanos?
You're welcome. You can find the manual for the 6th Generation Nano here: http://manuals.info.apple.com/enUS/iPod_nano_6thgen_UserGuide.pdf
-
Is there any possible to display the text in big font in screen painter
HI all!
i want to display the text in the large size in the text field in the screen painter in the odule pool programing.Is there any possible.What i have to do in the screen painter to display the text in the large size.Also is there any possible to put the color for the text.Give me replyHI
CALL METHOD o_dyndoc_id->initialize_document
EXPORTING
background_color = cl_dd_area=>col_tree_level1.
DATA : dl_text(255) TYPE c. "Text
CALL METHOD o_dyndoc_id->add_text
EXPORTING
text = 'Flight Details'
sap_style = cl_dd_area=>heading
sap_fontsize = cl_dd_area=>large
sap_color = cl_dd_area=>list_heading_int.
* Display document
CALL METHOD o_dyndoc_id->display_document
EXPORTING
reuse_control = 'X'
parent = cont
EXCEPTIONS
html_display_error = 1.
IF sy-subrc NE 0.
ENDIF.
by using these methods you can achieve i hope..
have a good day.
regards
sarves -
Is there a way to display the size of a folder or group of folders in Bridge?
In windows it is easy to click on any folder and see the size of it's contents, whether it is a single folder or contains subfolders. This doesn't seem possible as far as I can see in Bridge. The only way I can see to see the size of a folder is to select all files in the folder and then it will display the size. Seems quite a clunky way or working and is frustrating when you want to see the size of a folder containing sub folders. Strange for a program which is supposed to make managing files easier. However, I'm hoping that there is a way to do this and I've not discovered it yet.
If anyone knows of a way to click on any folder and display it's contents (with or without subfolders) without having to select all files, I would greatly appreciate them sharing it.
Many thanks,
JulieIn the Folders Tab, right click on folder then click Reveal in Explorer. This will open an Explorer window with the folder selected. In Explorer you can right click > Properties or navigate to whatever you want to measure.
-
Is there a way to display the legend for a chart, but not the chart?
Hi,
I have a stacked column chart and a line chart on top of each other. I can't use the legend for the stacked column chart because the data will change from month to month, and the 2 charts will not be aligned. I copied the stacked column chart to another part of the canvas and want to display only the legend, but the chart is still displaying. Is there a way to prevent the chart from displaying? Thanks.hi Jim Wojewnik,
we can show only the legend in a pie chart by dragging the edges to closer.do the following,
select the pie chart,select the edge of the chart and make it small and u ll find the pie chart shrinking.make it lean such that the pie chart disappear.
try this work around and let me know.
regards,
ravi. -
Is there a command for setting the selection option to be mandatory
hi,
i have a 4 select-option in my program, and i would set that, either one select option must be fill to execute the program. which mean, at least one field ( any select option) have to be enter, or else it will not run. is there a command to restrict on this?
please help. thanksCheck this sample
TABLES : vbap.
SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
so_posnr FOR vbap-posnr.
AT SELECTION-SCREEN.
IF NOT so_vbeln[] IS INITIAL OR
NOT so_posnr[] IS INITIAL.
ELSE.
MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
ENDIF.
" OR You can do it this way also
TABLES : vbap.
SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
so_posnr FOR vbap-posnr.
AT SELECTION-SCREEN.
IF so_vbeln[] IS INITIAL AND
so_posnr[] IS INITIAL.
MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
ENDIF.
Regards
Gopi -
CRM 7: Is there an FM to display the Trial and related statistic/info ?
I'm trying to add a new Assignment block to the Account screen to show the Trial and trial statistic info for the BP, if it exists.
I'm pretty sure no such AB already exists, and so have concluded that I need to create a new AB and add the apprropriate fields and populate them myself. That's the main reason for enquiring if there's an FM to display the trial related data, or failing that, maybe the tables that this info is held in.
Very much troubled.
JasonMaybe someone knows how or where a Trial is recorded and what tables might be used?.
Jas -
Is there a way to display the time-code of all tracks?
I bumped some audio out of sync. Is there a way to display all my audio and video time-codes simultaneously, so that I can see if my tracks are out of sync, and by how much?
You could link video and audio tracks in the timeline
that you want to stay in sync with each other.
Link or unlink video and audio
Once video and audio clips are linked in the timeline, you can
view the offset in frames if you happen to accidentally slip the sync.
There are a couple of automatic methods for recovering lost sync in
linked clips.
Automatically synchronize clips that were moved out of sync -
My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?
Hi Gazpan,
Thanks for visiting Apple Support Communities.
I recommend using the steps in this article to back up your iPhone if possible:
iOS: Back up and restore your iOS device with iCloud or iTunes
http://support.apple.com/kb/ht1766
You may also find this advice helpful for your situation:
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5661
If you no longer have your iOS device
If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
Cheers,
Jeremy
Maybe you are looking for
-
Parallax no longer works in Firefox 16+
I created a Parallax ( scrolling interactive images in layers which tells a story) about 10 months ago or so, it works in every browser and at that time it worked in firefox 10-ish. I just saw today that it no longer works in Firefox 17 or 16, it doe
-
Problem in process chain after upgrade
Hi, We recently upgraded our sysetm to BI7.0 version.When I tried to run a process chain,it failed at the data load step.I tried to see the message but it is throwing an error like "object not persistent".so can somebody let me know what is the
-
Flashing File Icon with Question Mark Upon Start-Up
Today when I went to use my computer (which was already on) it went blank and then came up with a gray screen with a flashing file icon with a question mark in the middle of it. I have already troubleshot things with several forums online and nothing
-
HT1296 how can I sync notes on my iPhone into my Outlook
How can I sync Notes from my iPhone 4S into Outlook?
-
Why is my child's number receiving texts on my iPad?
All of a sudden I'm getting face time from my kid's assigned # Face time too! Why oh why