Search found 27 matches: numeri

Searched query: numeri

by Silvio.Falconi
Mon Sep 30, 2024 11:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Tree as menu : how have the value nOpt ?
Replies: 4
Views: 635

Re: Tree as menu : how have the value nOpt ?

Antonio Linares wrote:Dear Silvio,

What is it nOpt ? What value should contain ?

The currently selected item ?
a number

oItem1:Add( "Numeri dispari",1, {|| nOpt:=1 } )
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: 6729

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 crea ...
by Silvio.Falconi
Wed Nov 02, 2022 10:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: delete identical records
Replies: 6
Views: 652

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 ...
by Silvio.Falconi
Wed Nov 02, 2022 10:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: delete identical records
Replies: 6
Views: 652

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 ...
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: 538

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 := MARQSTYLE_NOMARQUEE ...
by Silvio.Falconi
Mon Apr 04, 2022 1:58 pm
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 2751

Re: variabili strane

... 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 N2 ...
by mauri.menabue
Mon Apr 04, 2022 8:48 am
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 2751

Re: variabili strane

... nbsp; <------------------------------ 'esatto' deve essere .F. all'inizio del ciclo se no non partirebbe il ciclo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;numeri:= Space(2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set color to GR+/N&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;8, 30 say "MIN: " + scelta + " MAX: 22 ...
by Silvio.Falconi
Sun Apr 03, 2022 2:40 pm
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 2751

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é non avevo spazio oppure siccome il calcolo andava a ...
by Silvio.Falconi
Sat Apr 02, 2022 5:24 pm
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 2751

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 &#40;!esatto&#41; numeri:= Space&#40;2 ...
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: 7340

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 values

they ...
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: 7340

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"
c5:= "041424344454647484"
c6:= "051525354555657585 ...
by ukoenig
Sat Sep 14, 2019 11:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: MACRO ERROR
Replies: 4
Views: 621

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 (" + num + ")" )
NEXT

regards
Uwe
by Silvio.Falconi
Sat Sep 14, 2019 11:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: MACRO ERROR
Replies: 4
Views: 621

MACRO ERROR

I'm converting an my old clipper application and I have a strange error on compilation

numeri:= 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do while &#40;numeri <= 10&#41;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conta:= 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rmax:= 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp ...
by solving
Wed Nov 14, 2018 6:25 pm
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 82722

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 supera il 99999.

Es. dopo il ...
by Silvio.Falconi
Sat Feb 27, 2016 9:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: encoding from array
Replies: 3
Views: 523

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]

next k


nopw seem to run ok