Search found 26 matches: numeri

Return to advanced search

Re: chatGPT writes and executes Harbour code !!!

Antonio, Incredible!!!! I ask (Italian) Mi puoi mostrare il codice di un programma scritto in linguaggio Harbour che crea un array di 3 numeri dal 1 al 90 dove la somma è uguale alla distanza ciclometrica ? (Espanol) ¿Me puede mostrar el código de un programa escrito en lenguaje Harbour que ...
by Silvio.Falconi
Tue Dec 13, 2022 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 2787

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: 359

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: 359

Re: no sizing the column of xbrowse

... := .f. :lRecordSelector := .f. :nRowDividerStyle := LINESTYLE_LIGHTGRAY :nColDividerStyle := LINESTYLE_LIGHTGRAY :SetGroupHeader( "Numeri Estratti ", 1, 6 ) :SetGroupHeader( if( nRadio == 1, "Somme estratti", "Distanze cilometriche" ), 7, 16 ) :nMarqueeStyle ...
by Silvio.Falconi
Thu May 12, 2022 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: no sizing the column of xbrowse
Replies: 3
Views: 446

Re: variabili strane

... probabilmente e quasi certamente perché avevamo 25 righe e quindi 22 +1 o 2 per la scritta del read.... io adesso per far prima ho lasciato 22 per numeri è inteso il totale dei numeri ricercati si andava a salvare questo contatore per poi richiamare le famose variabili N con il numero esempio N1 ...
by Silvio.Falconi
Mon Apr 04, 2022 1:58 pm
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 775

Re: variabili strane

... <------------------------------ 'esatto' deve essere .F. all'inizio del ciclo se no non partirebbe il ciclo         numeri:= Space(2)         set color to GR+/N         @  8, 30 say "MIN: " + scelta ...
by mauri.menabue
Mon Apr 04, 2022 8:48 am
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 775

Re: variabili strane

nel ciclo delle get si chiedono dei numeri essendo un sorgente che va a fare statistiche lotto, tu puoi inserire fino a 22numeri anche sta cosa non l'ho capita probabilmente io nel lontano 92 avevi visto che potevo chiedere solo 22 numeri perché ...
by Silvio.Falconi
Sun Apr 03, 2022 2:40 pm
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 775

variabili strane

... un vecchio programma in clipper ho delle strane variabili cioè non sono dichiarate con local oppure public queste variabili servono a caricare dei numeri sono chieste in un ciclo di get ovviamente ti fa scegliere quanti numeri vuoi caricare max 22 do while (!esatto)         numeri:= Space(2)  ...
by Silvio.Falconi
Sat Apr 02, 2022 5:24 pm
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 775

Re: Conversion from ca-clipper ( not found a variable)

... or the M -> prefix: MEMVAR lServer or M -> lServer EMG ok but on my old clipper prg I assigned on "N"+ LTrim(Str(conta1)) a number numeri:= 22 for a sample do while (conta <= Val(numeri)) num:= "N" + LTrim(Str(conta)) so num = N1,N2,N3.... but &num can have different ...
by Silvio.Falconi
Fri Mar 04, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4376

Conversion from ca-clipper ( not found a variable)

I have this error Error description: Error BASE/1003 Variabile inesistente: C1 on the source numeri:= 9 combinaz:= 10 scelta:= "2" c1:= "102030405060708090" c2:= "011121314151617181" c3:= "021222324252627282" c4:= "031323334353637383" ...
by Silvio.Falconi
Tue Mar 01, 2022 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4376

Re: MACRO ERROR

Silvio just use the var-name " (" + num + ")" @ riga, 1 + numeri * 5 say massimo + " (" + &num + ")" OF oAmbRitardo SIZE 30,10 sample : I := 1 FOR I := 1 TO 10 num := "N" + LTrim(str(I)) MsgAlert( "massimo ...
by ukoenig
Sat Sep 14, 2019 11:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MACRO ERROR
Replies: 4
Views: 507

MACRO ERROR

I'm converting an my old clipper application and I have a strange error on compilation numeri:= 1         do while (numeri <= 10)            conta:= 1            rmax:= ...
by Silvio.Falconi
Sat Sep 14, 2019 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MACRO ERROR
Replies: 4
Views: 507

Re: Fatturazione Elettronica

Salve per quanto riguarda il nome file xml da inviare bisogna usare un progressivo ( i famosi 5 numeri e/o caratteri di ITcodicefiscal_XXXXX.xml ) quindi partendo da 1 si arriva a 99999. pensavo di andare oltre i soli numeri e usare un progressivo alfanumerico quando si ...
by solving
Wed Nov 14, 2018 6:25 pm
 
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 63543

Re: encoding from array

perhaps I found the error For k= 1 to 5 // numeri If nposition[k]= alltrim("a") nline:= 1 elseif nposition[k]= alltrim("b") nline:= 2 elseif nposition[k]= alltrim("c") nline:= 3 endif nNumbers[k]:= aline[nline][k] ...
by Silvio.Falconi
Sat Feb 27, 2016 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: encoding from array
Replies: 3
Views: 481

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

... compile and you can see that there are a problem Another problem/difference is this =======prova.ini============ characters accidentallly typed[Numeri] var1=0000001 ======================== #include "Fivewin.ch" FUNCTION MAIN()LOCAL cVar1, cVar2LOCAL hIniData? memoread( ...
by MarcoBoschi
Fri Oct 09, 2015 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1483
Next

Return to advanced search