BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Non trovo l'errore ...

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Revenge Posted - 05 Jun 2008 : 20:10:26
Lavorando sul codice degli script con ottimi risultati, sono incappato gia' un paio di volte in un errore di cui non trovo spiegazione.

In particolare per implementare correzioni tipo il titolo TRAMA LUNGA in cinematografo.it

#PLOT#
#PUT#=0#16#
#STARTREADWEB#
#PUTCURSOR#=#10#
#FINDLINE#=TRAMA LUNGA<#12##ONERROR#=*OK*
#FIND#=TRAMA LUNGA<#12##ONERROR#=*OK*
1- #IF# #12#<>#16#
2- #FIND#=>#01##ONERROR#=*OK*
3- #FIND#=Critica<#02##ONERROR#=*OK*
4- #IF# #02#==#16#
#TAKEWORD#=#03#,#01#,#00#
#ENDIF#
#IF# #02#<>#16#
#TAKEWORD#=#03#,#01#,#02#
#ENDIF#
#GOTO#=ENDTAKEPLOT
#ENDIF#
#SETCURSOR#=#10#
#FINDLINE#=Trama<#12##ONERROR#=*OK*
#FIND#=Trama<#12##ONERROR#=*OK*
#FIND#=>#01##ONERROR#=*OK*
#FIND#=
#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
:ENDTAKEPLOT
#CHECKVARIABLE#=#03#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#TRIM#
#STARTDELETETAGS#
#TAKEPLOT#=#03#
#ENDPLOT#

alla valutazione della riga 1 anche se #12# = 0 entra nel if e passa alla riga 4 saltando la 2 e la 3 ... mistero ...

Vedete un errore o piu' di uno ?
Probabilmente mi sono bevuto il cervello ...


2   L A T E S T    R E P L I E S    (Newest First)
Alessio Viti Posted - 04 Nov 2008 : 13:52:13
Ciao,

Scusami davvero per il ritardo!

Allora, il problema, a occhio, č che hai "nidificato" 2 istruzioni IF

Purtroppo non puoi nidificare pių IF, quando ne fai una devi per forza fare una ENDIF prima di farne un'altra.

Puoi usare le istruzioni GOTO per saltare da una parte all'altra.

Ciao!

Ale
Revenge Posted - 02 Nov 2008 : 13:02:43
Sempre per Alessio ...
Scusa, ma per farsi dare una mano cosa devo fare ?

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.06 sec. Powered By: Snitz Forums 2000 Version 3.4.07