#72579 - 2003-01-15 11:32 AM
Re: Trying to shorten a script
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
Once again a big thanks to all for their help.
Jpols I took the UDF you made and adapted it slightly and it works fine. My script may not be any shorter but it looks cleaner.
However, I still don't see the problem with "GOTO" statements. To me they seem clear as to where they point to and what you want them to do.
|
|
Top
|
|
|
|
#72581 - 2003-01-15 11:52 AM
Re: Trying to shorten a script
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
Lonkero I didn't choose the UDF to use in my script. I made a copy of my original script to see how the UDF would work after I made a few modifications to it and to see if I could understand the workings of a UDF (it is still a little gray, but I'm getting their).
I actually took Sealleopard's code from 13. January 2003 18:26 and put it into my script.
I just have one more question, why is there a "," at the beginning of the $choice variable by Jpols?
|
|
Top
|
|
|
|
#72582 - 2003-01-16 12:01 AM
Re: Trying to shorten a script
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 847 anonymous users online.
|
|
|