I have a for loop inside of while loop.when i press stop for while loop, i also would like to stop for loop.how can i solve this problem?thanks
i have a for loop inside of while loop.when i press stop for while loop, i also would like to stop for loop.how can i solve this problem?thanks
Hi fais,
Following through with what JB suggested. The steps involved in replacing the inner for loop with a while loop are outlined below.
You can replace the inner for loop with a while by doing the following.
1) Right-click of the for loop and select "Repalce" then navigate to the "while loop".
2) Make sure the tunnels you where indexing on with the for loop are still indexing.
3) Drop an "array size" node on your diagram. Wire the array that determines the number of iterations your for loop executes into this "array size".
4) Wire the output of the array size into the new while loop.
5) Set the condition terminal to "stop if true".
6)Drop an "OR" gate inside the while loop and wire its output to the while loops condition terminal.
7) C
reate a local of the boolean "stop" button, and wire it into one of the inputs of your OR gate. This will allow you to stop the inner loop.
8) Drop a "less than" node inside the inner while loop.
9) Wire your iteration count into the bottom input of the "less than".
10) Wire the count (see step 4 above) into the top input of the less than. This will stop the inner loop when ever the inner loop has processed the last element of your array.
Provided I have not mixed up my tops and bottoms this should accomplish the replacement.
I will let others explain how to takle this task using the "case solution".
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
i cant make restore for my iphone 3gs??,,,, needs restore and itunes cant make restore has an error code 2003... How can I solve this problem?
See this support document for information about update and restore errors. Resolve iOS update and restore errors
-
Have a current netflix account but need to change account payment is coming from. Have tried doing this for past few days however it keeps coming back with netflix is experiencing technical problems. My account is now overdue because of this.mhow canning solve this. Thanks
Then it has nothing to do with Apple. Go into your Netflix account and update your number. If you're having issues contact Netflix.
-
Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?
haben
From looking at the specifications of your camera (SJCam 4000), we know already what video compression your camera is using. It is H.264.
A H.264.mov file should be supported by Premiere Elements 11. On what computer operating system is your Premiere Elements 11 running?
Do you have the latest version of QuickTime installed on your computer? And, are you running QuickTime and Premiere Elements 11 from a
User Account with administrative privileges? Please go to Premiere Elements 11 Publish+Share/Computer/QuickTime to confirm that you find
presets there for the QuickTime choice there.
What are the properties of these H.264.mov files - is it 1080p30 (1920 x 1080p30) or something else? Do you know if this camera is recording with a variable or
a constant frame rate?
Please review and consider and then we will decide what next.
Thank you.
ATR -
Hi ,
I am from Spain and I am new in MacWorld, recently I have bought a MacBook Pro , but teh keyboard is not configured rightly, when I want to write @ I have to press g instead of the @ key, or the symbol for questions ?, I have to press :: key. Please how can I solve this problem ?. Thanks in advance.
BR,
XAvierxavier85 wrote:
I am new in MacWorld
Sorry to disappoint you, but this isn't MacWorld.
when I want to write @ I have to press g instead of the @ key
Are you sure you don't have to press ⌥-G (Option-G) to get @?
Anyway, sounds like a keyboard/keyboard layout mismatch.
Go to System Preferences > Language & Text > Input Sources. From "Select input methods to use" enable (check) the following
Keyboard & Character Viewer
U.S.
Spanish
Spanish - ISO
Also enable "Show Input menu in menu bar".
The Input menu should appear to the right of your menu bar, with the icon of a national flag. From this menu, choose "Show Keyboard Viewer". Then compare the layout displayed by Keyboard Viewer with the label on your MBP's keyboard. If it doesn't match, choose a different layout from the Input menu.
My suspicion is that you're using a US keyboard with a Spanish keyboard layout, hence the difference you noted. -
''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1038650 /questions/1038650]''
After every Firefox 34.0 reloading my add-ons have been switched off by unknown program or virus. Although i can switch them on and reboot firefox to fix it, but it is a little bit boring. How can i solve this problem?Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
I was using Aperture (3.4.1), when he appeared a notice that asked me to stop the Mac with the power button. When I restart Aperture no longer opens and the following message appears: There was an error opening the database for the library "/ Users / Andrea / Pictures / Aperture 3 Library.aplibrary."
How can I solve this problem?
ThanksAfter a system crash your Aperture Library may be corrupted, because Aperture may not have been able to finish the ongoing database transactions.
Have you tried the Aperture Library First Aid Tools?
Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
Try "Repair Database", and if this does not help: "Rebuild Database"
Regards
Léonie -
Hi, I created a new user on mac, Admin but I can't use adobe CS6 while the original user is admin too and all programs are running normal. How can I solve this problem?
Hi Amanda,
Software applications are usually installed in the Applications folder on the Macintosh HD and are accessible to all users.
I would advise you to check the Applications folder and see if your software is in there.
Next step would be to Control Click or Right Click on the application and choose "Get Info" and make sure the permissions are set to "Read & Write" for all users. The article below provides more details:
Troubleshooting permissions issues in Mac OS X
http://support.apple.com/kb/ht2963
You may need to contact Adobe Support if this does not resolve your issue:
http://helpx.adobe.com/photoshop.html
Hope this information helps!
- Judy -
I have two problems with IOS 6.0.
1. I have to type my security code every time I turn on my ipad with ios6.0. I don' have to to his with ios5.1. How can I solve this problem?
2. I can not send email via Yahoo as usual, Only Safari allow me to it.
Accordingly, I am writting here to ask for to solve those problems.
Thanks in advance.* Websites remembering you and automatically log you in is stored in a cookie.
* You need an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep that cookie, especially for secure websites and if you let cookies expire when Firefox closes
* Make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
See also http://kb.mozillazine.org/Cookies -
I want to buy in iTunes. But it says this is first purchase so I have to write security answers but it doesn't appear any question. So I can't answer. And I can't buy anything how can I solve this problem????
Check the AppleCare number for your country here:
http://support.apple.com/kb/HE57
Call them up, and let them know you would like to be transferred to the Account Security Team. -
I cant sync my iphone to my mac, the following message appears: this phone cannot be synced because this computer is not longer authorized for items bought in this phone! how can I solve this problem?
Mac iTunes menu > Store > Authorize This Computer....
-
Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?
Whinston,
I live in Azerbaijan. Recently I bought apple tv in New York. When I come back to my country tried to rent movies from my country but couldn't find my country name on apple tv menu, so there is a problem I don't know how to fix it. is there have another way to take a rent movies? -
I have a 24" imac model 9,1 running OS 10.6.8 and I am experiencing frequent freezes and crashes. How can I solve this problem?
HalAs old as your iMac is, have you cleaned out the dust? Dust buildup can lead to over heating issues. Remove any and all things plugged into it including the power cord, Remove the RAM access grille. Vacuum all openings starting with the RAM access area (air intake). Vacuum all ports and plugs, DVD slot and the opening across the top of the rear of the body. Blow compressed air through all your openings and vacuum again to remove any dust you loosend. Reinstall the RAM grille. Plug in the keyboard and mouse if not blue tooth. Insert power cord...
You are now in a perfect position to do a
SMC RESET
http://support.apple.com/kb/HT3964
Shut down the computer.
Unplug the computer's power cord and ALL peripherals.
Wait 15 seconds.
Attach the computers power cable.
Wait another 5 seconds and press the power button to turn on the computer.
It is the 5 second timing that initiates the reset.
Here is a link to a Widget to monitor your temps and other operations:
http://islayer.com/apps/istatpro/
since you are running 10.6.8 did you install the combo update?
Mac OS X 10.6.8 Update Combo v1.1
It is more stable than the regular version.
You could use your original install disc and boot from the disc, run Disc Utility and do a repair disk. -
Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?
This looks like a change of behaviour in iTunes 12. Once songs are queued up to the Up Next list then they play whether ticked or not. If you want to skip certain songs already queued click the Up Next tool, then click the small X to the left of the song that appears when you hover over it.
tt2 -
I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?
By doing a Google search.
Maybe you are looking for
-
I tried using the Voice Memos iPhone app and ended up with a red banner on top of the screen that flashes "recording 00.00" but I can't locate what I thought I was recording. can you help me? jacknil
-
Basic question, but I can't find a complete answer
I know this is really basic, but I'm nervous about installing Leopard. (My little 80G MacBook is all the computer I have right now.) I want to clone my current hard drive before I do an erase and install of Leopard. I bought a WD 500GB external hard
-
Hi, I would like to know if it's possible to do a Max function between two dates ? For instance I would like to do: Date Y = Max (created date + 4 days) and (Date X + 3 days) Thanks for your help,
-
[JS] CS4 Anchored frame within anchored frame
With this code myGB is not returning the correct geometric bounds. Is anyone else noticing this? myFrame = myStory.insertionPoints[0].textFrames.add() myAGB = myFrame.geometricBounds; myAGB[1] = myFrame.geometricBounds[3] + 10 myAGB[2] = myFrame.geom
-
My mailbox was corrupted and had to be rebuilt. Bizarrely, it rebuilt more messages than possible. "Imported x of y messages," but x > y. The time remaining was in the millions of hours. What happened, and how can I stop it from happening again? Mail