Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > Esame di laboratorio (Giugno 2007) - Domande Thread Rating: 3 votes, 5.00 average.
Pages (571): « First ... « 520 521 522 523 [524] 525 526 527 528 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Deckard
.illuminato.

User info:
Registered: Sep 2008
Posts: 242 (0.04 al dì)
Location: ~
Corso: Info
Anno: primo
Time Online: 3 Days, 17:53:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by -Oblivion-
Solo per curiosità... come facevi a saperlo? :D

Il "trucchetto" delle parentesi l'aveva detto Monga a lezione. La spiegazione del perché senza non funziona è l'unica plausibile che mi è venuta in mente.


edit: Se ho 2 while di questo tipo, annidati.

Come posso portare fuori una variabile del while interno?

A parte che gli es. di lab sono tutti risolvibili senza far uso di cicli annidati... direi che una soluzione semplice è copiare quella variabile in un file temporaneo: basta semplicemente un
PHP:

echo $pippo >> temp

e poi la recuperi con cat o tail -n 1 al max se hai già usato quel file. Altrimenti potresti giocare un po' con gli echo e le pipe.

__________________
And all those moments will be lost in time, like tears in rain...

15-09-2010 18:44
Click Here to See the Profile for Deckard Click here to Send Deckard a Private Message Find more posts by Deckard Add Deckard to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 03:16.    Post New Thread    Post A Reply
Pages (571): « First ... « 520 521 522 523 [524] 525 526 527 528 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.070 seconds (58.90% PHP - 41.10% MySQL) con 24 query.