Search found 33 matches: calcolo

Return to advanced search

Re: delete identical records

sorry my error Now only with local nValore:= 6 local nTipo := 3 run ok For n= 1 to 90 For k= 1 to 90 For j= 1 to 90 nTotale := Calcolo_3_numeri(n,k,j,ntipo) If nTotale=nvalore nAt := AScan( aTmp, { |a| a[1] = k .and. a[2] = n .or. a[3] = j } ) If nAt == 0 aadd(aTmp,{n,k,j}) Endif Endif next next nex...
by Silvio.Falconi
Wed Nov 02, 2022 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: delete identical records
Replies: 6
Views: 358

Re: delete identical records

change into For n= 1 to 90 For k= 1 to 90 For j= 1 to 90 nTotale := Calcolo_3_numeri(n,k,j,ntipo) If nTotale=nvalore nAt := AScan( aTmp, { |a| a[1] = j .and. a[2] = k .or. a[3] = n} ) If nAt == 0 aadd(aTmp,{n,k,j}) Endif Endif next next next the calc is fast but is also bad because there are also du...
by Silvio.Falconi
Wed Nov 02, 2022 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: delete identical records
Replies: 6
Views: 358

Re: variabili strane

... sta cosa non l'ho capita probabilmente io nel lontano 92 avevi visto che potevo chiedere solo 22 numeri perché non avevo spazio oppure siccome il calcolo andava a stampare a video i risultati poi erano troppi e non entravano che ti devo dire ...non lo so...quindi il ciclo get chiede 22numeri che ...
by Silvio.Falconi
Sun Apr 03, 2022 2:40 pm
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 775

Re: show a message then created a dialog and not before

oDlg:bStart := {||Calcolo(@aItems) }
by VictorCasajuana
Thu Aug 05, 2021 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a message then created a dialog and not before
Replies: 5
Views: 767

Re: asort array but on row

Local aRow

aPrevisti:= Calcolo_Previsione(oPrevisione,primo,ba,ca,fi,ge,mi,na,pa,rm,to,ve,nz,aRuote)

for each aRow in aPrevisti
ASort( aRow, 2, nil, { |x,y| x > y } )
next
by MGA
Fri Sep 13, 2019 6:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: asort array but on row
Replies: 9
Views: 1156

Re: asort array but on row

Error description: Error BASE/1003 Variabile inesistente: AROW

aPrevisti:= Calcolo_Previsione(oPrevisione,primo,ba,ca,fi,ge,mi,na,pa,rm,to,ve,nz,aRuote)

for each aRow in aPrevisti
ASort( aRow, 2, nil, { |x,y| x > y } )
next
by Silvio.Falconi
Fri Sep 13, 2019 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: asort array but on row
Replies: 9
Views: 1156

Re: show a message then created a dialog and not before

Silvio,

You can use a var that will show the message only at once.

lMessage := .F.
oDlg:bPainted := {|| IIF( lMessage = .F., ( Calcolo(@aItems), lMessage := .T.), NIL ) }


regards
Uwe :?:
by ukoenig
Fri Aug 23, 2019 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a message then created a dialog and not before
Replies: 5
Views: 767

Re: show a message then created a dialog and not before

Silvio,

just change to :
.....
.....
oDlg:bPainted := {||Calcolo(@aItems) }

ACTIVATE DIALOG oDlg CENTERED;
ON INIT ( oPanelGreen := PanelGreen(oFolder),;
EVAL( oDlg:bResized))

regards
Uwe :D
by ukoenig
Fri Aug 23, 2019 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a message then created a dialog and not before
Replies: 5
Views: 767

show a message then created a dialog and not before

I have a dialog at init go to add a array aItems I need on xbrowse from a function calcolo() if I make a check calcolo function have some message boxes I wish before create the dialog with all object and then the calcolo function can show the messages my problem ...
by Silvio.Falconi
Fri Aug 23, 2019 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a message then created a dialog and not before
Replies: 5
Views: 767

Re: Fatturazione Elettronica

salve per marco , la tua logica non fà una grinza , ma tu non sei un programmatore sogei :D :D Controllo corretto calcolo del PrezzoTotale codice errore 00423: 2.2.1.11 <PrezzoTotale> non calcolato secondo le regole definite nelle specifiche tecniche BloccoDettaglioLinee = ...
by solving
Fri Dec 07, 2018 10:46 am
 
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 63498

Folder enable

... Configurazione(nscelta) .... @ 2.3, 2 FOLDER oFld PIXEL ADJUST ; ITEMS "&Dati della scuola","Parametri Generali",; "Calcolo","Orario delle lezioni","Ore per giorno","Assenze"; SIZE 235,190 oFld:nOption:=nscelta there is a method ...
by Silvio.Falconi
Wed Sep 19, 2018 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder enable
Replies: 5
Views: 671

Re: un poco de ayuda

Giussepe,

Modifica tu código asi:

oSco:Connect( "textChanged(QString)",{| cValue | nSco := cValue, Calcolo(oDlg, oPre, nPre, nSco,1)})

Aqui funciona bien asi
by Antonio Linares
Wed Jul 15, 2015 4:46 pm
 
Forum: FiveTouch
Topic: un poco de ayuda
Replies: 9
Views: 3411

Re: un poco de ayuda

¡Buenos dias! ¿usted podrìa probar el código que he publicado ? Si no utilizo la variable "nSco" no funciona {||Calcolo(oDlg, oPre, nPre, nSco,1)} pero funciona asì {|nSco|Calcolo(oDlg, oPre, nPre, nSco,1)}. Si yo digito primer campo(Prezzo) 100 segundo campo(Sconto) 20 obtengo ...
by solving
Wed Jul 15, 2015 2:50 pm
 
Forum: FiveTouch
Topic: un poco de ayuda
Replies: 9
Views: 3411

Re: un poco de ayuda

Giussepe,

Este bloque decódigo no recibo nSco como parámetro:

{|nSco|Calcolo(oDlg, oPre, nPre, nSco,1)}

luego debería ser:

{||Calcolo(oDlg, oPre, nPre, nSco,1)}

No se si eso lo soluciona. Puedes probarlo e intentarme explicar nuevamente lo que ocurre ? gracias
by Antonio Linares
Tue Jul 14, 2015 3:20 pm
 
Forum: FiveTouch
Topic: un poco de ayuda
Replies: 9
Views: 3411

Re: un poco de ayuda

si escribo la segunda variable consigo el resultado. mientras que la variable está llena si uso el botón "Calcolo " que llama a la función de calcolo() la variable " nSco " está vacía ? #include "FiveTouch.ch"function Main()LOCAL oDlgLOCAL ...
by solving
Tue Jul 14, 2015 9:02 am
 
Forum: FiveTouch
Topic: un poco de ayuda
Replies: 9
Views: 3411
Next

Return to advanced search

cron